#1F4472#1F4472

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

Color values

HEX#1F4472
RGBrgb(31, 68, 114)
HSLhsl(213, 57%, 28%)
HSVhsv(213, 73%, 45%)
CMYKcmyk(72.8%, 40.4%, 0%, 55.3%)
CIE-LABlab(28.49, 3.60, -30.37)
CIE-LCHlch(28.49, 30.58, 276.76°)
OKLaboklab(38.42% -0.0229 -0.0865)
OKLCHoklch(38.42% 0.089 255.2)
XYZxyz(5.6683, 5.6399, 16.7062)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4472 #724D1F
analogous
#1F6D72 #1F4472 #231F72
triadic
#1F4472 #721F44 #44721F
tetradic
#1F4472 #721F6D #724D1F #1F7223
square
#1F4472 #721F6D #724D1F #1F7223
split-complementary
#1F4472 #72231F #6D721F
monochromatic
#070E18 #122742 #1F4472 #2C61A2 #407ECB

Accessibility & contrast

On white

9.87
#1F4472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1F4472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4472
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4472#FFFFFF#000000##FFFFFF
##1F44721.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f4472;
/* rgb */ color: rgb(31, 68, 114);
/* oklch */ color: oklch(38.4% 0.089 255.2);
Tailwind
colors: {
  custom: {
    50: '#66779b',
    500: '#1f4472',
    950: '#000000',
  },
}
SCSS
$custom: #1f4472;
$custom-light: #66779b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4472",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 213.253,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.08948,
    "h": 255.2
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#1F4472
secondary
#A67C47
accent
#9C47E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4472

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

Preview Lab → · Contrast checker → · Palette generator →

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