#1F4B76#1F4B76

#1F4B76 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.087 H 250.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1F4B76
RGBrgb(31, 75, 118)
HSLhsl(210, 58%, 29%)
HSVhsv(210, 74%, 46%)
CMYKcmyk(73.7%, 36.4%, 0%, 53.7%)
CIE-LABlab(30.95, 0.51, -28.98)
CIE-LCHlch(30.95, 28.98, 271.00°)
OKLaboklab(40.43% -0.0292 -0.0823)
OKLCHoklch(40.43% 0.087 250.4)
XYZxyz(6.3499, 6.6308, 18.0812)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B76 #764A1F
analogous
#1F7676 #1F4B76 #1F2076
triadic
#1F4B76 #761F4B #4B761F
tetradic
#1F4B76 #761F76 #764A1F #20761F
square
#1F4B76 #761F76 #764A1F #20761F
split-complementary
#1F4B76 #761F20 #76761F
monochromatic
#060F18 #122C46 #1F4B76 #2C6AA6 #4289CD

Accessibility & contrast

On white

9.03
#1F4B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F4B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B76
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B76#FFFFFF#000000##FFFFFF
##1F4B761.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D78
Deuteranopia (green-blind)
#2B4575
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4b76;
/* rgb */ color: rgb(31, 75, 118);
/* oklch */ color: oklch(40.4% 0.087 250.4);
Tailwind
colors: {
  custom: {
    50: '#667d9e',
    500: '#1f4b76',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b76;
$custom-light: #667d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b76",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 118
  },
  "hsl": {
    "h": 209.655,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.08735,
    "h": 250.4
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#1F4B76
secondary
#AA7847
accent
#9346E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4B76

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1F4B76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva