#1F376E#1F376E

#1F376E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.100 H 264.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1F376E
RGBrgb(31, 55, 110)
HSLhsl(222, 56%, 28%)
HSVhsv(222, 72%, 43%)
CMYKcmyk(71.8%, 50%, 0%, 56.9%)
CIE-LABlab(24.16, 11.01, -34.74)
CIE-LCHlch(24.16, 36.44, 287.58°)
OKLaboklab(35% -0.0102 -0.0995)
OKLCHoklch(35% 0.1 264.2)
XYZxyz(4.7447, 4.1490, 15.2996)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F376E #6E561F
analogous
#1F5E6E #1F376E #2E1F6E
triadic
#1F376E #6E1F37 #376E1F
tetradic
#1F376E #6E1F5E #6E561F #1F6E2E
square
#1F376E #6E1F5E #6E561F #1F6E2E
split-complementary
#1F376E #6E2E1F #5E6E1F
monochromatic
#070C18 #121F3E #1F376E #2C4F9E #3F69C9

Accessibility & contrast

On white

11.48
#1F376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F376E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F376E#FFFFFF#000000##FFFFFF
##1F376E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#08366D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f376e;
/* rgb */ color: rgb(31, 55, 110);
/* oklch */ color: oklch(35.0% 0.100 264.2);
Tailwind
colors: {
  custom: {
    50: '#656d98',
    500: '#1f376e',
    950: '#000000',
  },
}
SCSS
$custom: #1f376e;
$custom-light: #656d98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f376e",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 221.772,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34998,
    "c": 0.10006,
    "h": 264.2
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#1F376E
secondary
#A28647
accent
#B148DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1F376E

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

Preview Lab → · Contrast checker → · Palette generator →

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