#1F4372#1F4372

#1F4372 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 38.2% C 0.091 H 256.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#1F4372
RGBrgb(31, 67, 114)
HSLhsl(214, 57%, 28%)
HSVhsv(214, 73%, 45%)
CMYKcmyk(72.8%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.17, 4.28, -30.88)
CIE-LCHlch(28.17, 31.17, 277.89°)
OKLaboklab(38.18% -0.0219 -0.088)
OKLCHoklch(38.18% 0.091 256)
XYZxyz(5.6084, 5.5199, 16.6862)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4372 #724E1F
analogous
#1F6C72 #1F4372 #241F72
triadic
#1F4372 #721F43 #43721F
tetradic
#1F4372 #721F6C #724E1F #1F7224
square
#1F4372 #721F6C #724E1F #1F7224
split-complementary
#1F4372 #72241F #6C721F
monochromatic
#070E18 #122742 #1F4372 #2C5FA2 #407CCB

Accessibility & contrast

On white

9.98
#1F4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1F4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4372
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4372#FFFFFF#000000##FFFFFF
##1F43721.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4774
Deuteranopia (green-blind)
#213F71
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f4372;
/* rgb */ color: rgb(31, 67, 114);
/* oklch */ color: oklch(38.2% 0.091 256.0);
Tailwind
colors: {
  custom: {
    50: '#66769b',
    500: '#1f4372',
    950: '#000000',
  },
}
SCSS
$custom: #1f4372;
$custom-light: #66769b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4372",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 213.976,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.09066,
    "h": 256
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#1F4372
secondary
#A67D47
accent
#9E47E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1F4372

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

Preview Lab → · Contrast checker → · Palette generator →

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