#074797

Closest named color: Cobalt (#1E488F). oklch(41.2% 0.144 257.7), rgb(7, 71, 151).

Aa

White text reads best on this color (8.90:1).

About this color

#074797 is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.144 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.018 away. White text reads best on it, at 8.90:1.

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.144)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.35:1
White text8.90:1

Values

HEX#074797
RGBrgb(7, 71, 151)
HSLhsl(213, 91%, 31%)
OKLCHoklch(41.2% 0.144 257.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #074797 8.90:1 AAA Lc -94.2 Preferred for body text
Black text on #074797 2.35:1 Fails Lc 14.2 Not readable
#074797 text on white 8.90:1 AAA Lc 89.7 Fine for body text
#074797 text on black 2.35:1 Fails Lc -12.5 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBF9

    oklch(88.5% 0.047 257.3)

  4. Step 300

    300

    #9FC3F7

    oklch(81% 0.084 257.5)

  5. Step 400

    400

    #69A1F3

    oklch(70.6% 0.135 257.8)

  6. Step 500

    500

    #3E87EF

    oklch(63% 0.173 257.8)

  7. Step 600

    600

    #196EDE

    oklch(55.6% 0.188 257.9)

  8. Step 700

    700

    #085BC1

    oklch(49% 0.175 257.9)

  9. Step 800

    800 (this color)

    #074797

    oklch(41.2% 0.144 257.7)

  10. Step 900

    900

    #15407C

    oklch(37.8% 0.112 257.7)

  11. Step 950

    950

    #0E2648

    oklch(27% 0.07 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#074797 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0B509A0.026
Deuteranopia (no green cones)#0044950.010
Tritanopia (no blue cones)#005B680.109
Achromatopsia (no color)#4A4A4A0.144

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #074797

    #074797

    oklch(41.2% 0.144 257.7)

  • #644400

    #644400

    oklch(41.2% 0.086 78.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #074797

    #074797

    oklch(41.2% 0.144 257.7)

  • #00536D

    #00536D

    oklch(41.3% 0.08 227.7)

  • #4A3793

    #4A3793

    oklch(41.2% 0.145 287.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #074797

    #074797

    oklch(41.2% 0.144 257.7)

  • #7A3300

    #7A3300

    oklch(41.3% 0.113 47.7)

  • #504E00

    #504E00

    oklch(41.2% 0.089 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #074797

    #074797

    oklch(41.2% 0.144 257.7)

  • #881A2C

    #881A2C

    oklch(41.3% 0.144 17.9)

  • #225A00

    #225A00

    oklch(41.3% 0.127 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #074797

    #074797

    oklch(41.2% 0.144 257.7)

  • #7E1E59

    #7E1E59

    oklch(41.2% 0.143 347.6)

  • #644400

    #644400

    oklch(41.2% 0.086 78.2)

  • #005942

    #005942

    oklch(41.2% 0.084 167.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #074797, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #074797 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.