#1F4672#1F4672

#1F4672 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.087 H 253.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1F4672
RGBrgb(31, 70, 114)
HSLhsl(212, 57%, 28%)
HSVhsv(212, 73%, 45%)
CMYKcmyk(72.8%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.12, 2.26, -29.36)
CIE-LCHlch(29.12, 29.45, 274.40°)
OKLaboklab(38.92% -0.0251 -0.0835)
OKLCHoklch(38.92% 0.087 253.3)
XYZxyz(5.7914, 5.8859, 16.7472)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4672 #724B1F
analogous
#1F6F72 #1F4672 #211F72
triadic
#1F4672 #721F46 #46721F
tetradic
#1F4672 #721F6F #724B1F #1F7221
square
#1F4672 #721F6F #724B1F #1F7221
split-complementary
#1F4672 #72211F #6F721F
monochromatic
#070F18 #122842 #1F4672 #2C64A2 #4082CB

Accessibility & contrast

On white

9.64
#1F4672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F4672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4672
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4672#FFFFFF#000000##FFFFFF
##1F46721.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4672;
/* rgb */ color: rgb(31, 70, 114);
/* oklch */ color: oklch(38.9% 0.087 253.3);
Tailwind
colors: {
  custom: {
    50: '#66799b',
    500: '#1f4672',
    950: '#000000',
  },
}
SCSS
$custom: #1f4672;
$custom-light: #66799b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4672",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 211.807,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.08717,
    "h": 253.3
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#1F4672
secondary
#A67947
accent
#9947E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1F4672

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

Preview Lab → · Contrast checker → · Palette generator →

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