#1F4572#1F4572

#1F4572 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.088 H 254.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1F4572
RGBrgb(31, 69, 114)
HSLhsl(213, 57%, 28%)
HSVhsv(213, 73%, 45%)
CMYKcmyk(72.8%, 39.5%, 0%, 55.3%)
CIE-LABlab(28.80, 2.93, -29.87)
CIE-LCHlch(28.80, 30.01, 275.60°)
OKLaboklab(38.67% -0.024 -0.085)
OKLCHoklch(38.67% 0.088 254.2)
XYZxyz(5.7293, 5.7618, 16.7265)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4572 #724C1F
analogous
#1F6E72 #1F4572 #221F72
triadic
#1F4572 #721F45 #45721F
tetradic
#1F4572 #721F6E #724C1F #1F7222
square
#1F4572 #721F6E #724C1F #1F7222
split-complementary
#1F4572 #72221F #6E721F
monochromatic
#070F18 #122842 #1F4572 #2C62A2 #4080CB

Accessibility & contrast

On white

9.76
#1F4572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1F4572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4572
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4572#FFFFFF#000000##FFFFFF
##1F45721.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#244071
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f4572;
/* rgb */ color: rgb(31, 69, 114);
/* oklch */ color: oklch(38.7% 0.088 254.2);
Tailwind
colors: {
  custom: {
    50: '#66789b',
    500: '#1f4572',
    950: '#000000',
  },
}
SCSS
$custom: #1f4572;
$custom-light: #66789b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4572",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 212.53,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.08831,
    "h": 254.2
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#1F4572
secondary
#A67A47
accent
#9A47E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4572

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

Preview Lab → · Contrast checker → · Palette generator →

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