#1F4B73#1F4B73

#1F4B73 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.2% C 0.083 H 248.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1F4B73
RGBrgb(31, 75, 115)
HSLhsl(209, 58%, 29%)
HSVhsv(209, 73%, 45%)
CMYKcmyk(73%, 34.8%, 0%, 54.9%)
CIE-LABlab(30.78, -0.66, -27.36)
CIE-LCHlch(30.78, 27.37, 268.62°)
OKLaboklab(40.24% -0.0302 -0.0776)
OKLCHoklch(40.24% 0.083 248.8)
XYZxyz(6.1745, 6.5606, 17.1572)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B73 #73471F
analogous
#1F7371 #1F4B73 #1F2173
triadic
#1F4B73 #731F4B #4B731F
tetradic
#1F4B73 #711F73 #73471F #21731F
square
#1F4B73 #711F73 #73471F #21731F
split-complementary
#1F4B73 #731F21 #73711F
monochromatic
#061018 #122C43 #1F4B73 #2C6AA3 #418ACC

Accessibility & contrast

On white

9.08
#1F4B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F4B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B73
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B73#FFFFFF#000000##FFFFFF
##1F4B731.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D75
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4b73;
/* rgb */ color: rgb(31, 75, 115);
/* oklch */ color: oklch(40.2% 0.083 248.8);
Tailwind
colors: {
  custom: {
    50: '#667d9b',
    500: '#1f4b73',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b73;
$custom-light: #667d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b73",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 115
  },
  "hsl": {
    "h": 208.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.08324,
    "h": 248.8
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#1F4B73
secondary
#A77547
accent
#9047E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4B73

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

Preview Lab → · Contrast checker → · Palette generator →

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