#1F376F#1F376F

#1F376F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.102 H 264.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1F376F
RGBrgb(31, 55, 111)
HSLhsl(222, 56%, 28%)
HSVhsv(222, 72%, 44%)
CMYKcmyk(72.1%, 50.5%, 0%, 56.5%)
CIE-LABlab(24.23, 11.41, -35.27)
CIE-LCHlch(24.23, 37.07, 287.93°)
OKLaboklab(35.07% -0.01 -0.1011)
OKLCHoklch(35.07% 0.102 264.3)
XYZxyz(4.7995, 4.1709, 15.5880)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F376F #6F571F
analogous
#1F5F6F #1F376F #2F1F6F
triadic
#1F376F #6F1F37 #376F1F
tetradic
#1F376F #6F1F5F #6F571F #1F6F2F
square
#1F376F #6F1F5F #6F571F #1F6F2F
split-complementary
#1F376F #6F2F1F #5F6F1F
monochromatic
#070C18 #121F3F #1F376F #2C4F9F #3F69C9

Accessibility & contrast

On white

11.45
#1F376F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F376F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F376F#FFFFFF#000000##FFFFFF
##1F376F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D71
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f376f;
/* rgb */ color: rgb(31, 55, 111);
/* oklch */ color: oklch(35.1% 0.102 264.3);
Tailwind
colors: {
  custom: {
    50: '#656d99',
    500: '#1f376f',
    950: '#000000',
  },
}
SCSS
$custom: #1f376f;
$custom-light: #656d99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f376f",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 111
  },
  "hsl": {
    "h": 222,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.10158,
    "h": 264.3
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#1F376F
secondary
#A38747
accent
#B248E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1F376F

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

Preview Lab → · Contrast checker → · Palette generator →

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