#1F4B71#1F4B71

#1F4B71 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.1% C 0.081 H 247.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1F4B71
RGBrgb(31, 75, 113)
HSLhsl(208, 57%, 28%)
HSVhsv(208, 73%, 44%)
CMYKcmyk(72.6%, 33.6%, 0%, 55.7%)
CIE-LABlab(30.68, -1.44, -26.28)
CIE-LCHlch(30.68, 26.31, 266.87°)
OKLaboklab(40.12% -0.0308 -0.0744)
OKLCHoklch(40.12% 0.081 247.5)
XYZxyz(6.0607, 6.5151, 16.5577)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B71 #71451F
analogous
#1F716E #1F4B71 #1F2271
triadic
#1F4B71 #711F4B #4B711F
tetradic
#1F4B71 #6E1F71 #71451F #22711F
square
#1F4B71 #6E1F71 #71451F #22711F
split-complementary
#1F4B71 #711F22 #716E1F
monochromatic
#071018 #122B41 #1F4B71 #2C6BA1 #408ACB

Accessibility & contrast

On white

9.12
#1F4B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F4B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B71
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B71#FFFFFF#000000##FFFFFF
##1F4B711.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4b71;
/* rgb */ color: rgb(31, 75, 113);
/* oklch */ color: oklch(40.1% 0.081 247.5);
Tailwind
colors: {
  custom: {
    50: '#657d9a',
    500: '#1f4b71',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b71;
$custom-light: #657d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b71",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 207.805,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.08053,
    "h": 247.5
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#1F4B71
secondary
#A57247
accent
#8E48E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4B71

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

Preview Lab → · Contrast checker → · Palette generator →

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