#1F4471#1F4471

#1F4471 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.4% C 0.088 H 254.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1F4471
RGBrgb(31, 68, 113)
HSLhsl(213, 57%, 28%)
HSVhsv(213, 73%, 44%)
CMYKcmyk(72.6%, 39.8%, 0%, 55.7%)
CIE-LABlab(28.43, 3.21, -29.83)
CIE-LCHlch(28.43, 30.01, 276.13°)
OKLaboklab(38.36% -0.0232 -0.0849)
OKLCHoklch(38.36% 0.088 254.7)
XYZxyz(5.6117, 5.6172, 16.4081)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4471 #714C1F
analogous
#1F6D71 #1F4471 #231F71
triadic
#1F4471 #711F44 #44711F
tetradic
#1F4471 #711F6D #714C1F #1F7123
square
#1F4471 #711F6D #714C1F #1F7123
split-complementary
#1F4471 #71231F #6D711F
monochromatic
#070E18 #122741 #1F4471 #2C61A1 #407ECB

Accessibility & contrast

On white

9.89
#1F4471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1F4471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4471
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4471#FFFFFF#000000##FFFFFF
##1F44711.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#234070
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4471;
/* rgb */ color: rgb(31, 68, 113);
/* oklch */ color: oklch(38.4% 0.088 254.7);
Tailwind
colors: {
  custom: {
    50: '#65779a',
    500: '#1f4471',
    950: '#000000',
  },
}
SCSS
$custom: #1f4471;
$custom-light: #65779a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4471",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 212.927,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.08802,
    "h": 254.7
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#1F4471
secondary
#A57A47
accent
#9B48E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4471

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

Preview Lab → · Contrast checker → · Palette generator →

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