#1F376D#1F376D

#1F376D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.099 H 264.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#1F376D
RGBrgb(31, 55, 109)
HSLhsl(222, 56%, 27%)
HSVhsv(222, 72%, 43%)
CMYKcmyk(71.6%, 49.5%, 0%, 57.3%)
CIE-LABlab(24.09, 10.61, -34.21)
CIE-LCHlch(24.09, 35.82, 287.23°)
OKLaboklab(34.92% -0.0103 -0.098)
OKLCHoklch(34.92% 0.099 264)
XYZxyz(4.6906, 4.1273, 15.0145)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F376D #6D551F
analogous
#1F5E6D #1F376D #2E1F6D
triadic
#1F376D #6D1F37 #376D1F
tetradic
#1F376D #6D1F5E #6D551F #1F6D2E
square
#1F376D #6D1F5E #6D551F #1F6D2E
split-complementary
#1F376D #6D2E1F #5E6D1F
monochromatic
#070C18 #111F3D #1F376D #2D4F9D #3E69C8

Accessibility & contrast

On white

11.50
#1F376D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1F376D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F376D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F376D#FFFFFF#000000##FFFFFF
##1F376D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6F
Deuteranopia (green-blind)
#0A366C
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f376d;
/* rgb */ color: rgb(31, 55, 109);
/* oklch */ color: oklch(34.9% 0.099 264.0);
Tailwind
colors: {
  custom: {
    50: '#656d97',
    500: '#1f376d',
    950: '#000000',
  },
}
SCSS
$custom: #1f376d;
$custom-light: #656d97;
$custom-dark: #000000;
JSON
{
  "hex": "#1f376d",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 109
  },
  "hsl": {
    "h": 221.538,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.09852,
    "h": 264
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#1F376D
secondary
#A18547
accent
#B149DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1F376D

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

Preview Lab → · Contrast checker → · Palette generator →

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