#1F376C#1F376C

#1F376C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.097 H 263.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1F376C
RGBrgb(31, 55, 108)
HSLhsl(221, 55%, 27%)
HSVhsv(221, 71%, 42%)
CMYKcmyk(71.3%, 49.1%, 0%, 57.6%)
CIE-LABlab(24.02, 10.21, -33.68)
CIE-LCHlch(24.02, 35.19, 286.86°)
OKLaboklab(34.85% -0.0105 -0.0964)
OKLCHoklch(34.85% 0.097 263.8)
XYZxyz(4.6371, 4.1059, 14.7326)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F376C #6C541F
analogous
#1F5E6C #1F376C #2E1F6C
triadic
#1F376C #6C1F37 #376C1F
tetradic
#1F376C #6C1F5E #6C541F #1F6C2E
square
#1F376C #6C1F5E #6C541F #1F6C2E
split-complementary
#1F376C #6C2E1F #5E6C1F
monochromatic
#070C18 #111F3C #1F376C #2D4F9C #3E69C8

Accessibility & contrast

On white

11.53
#1F376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F376C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F376C#FFFFFF#000000##FFFFFF
##1F376C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#0C366B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f376c;
/* rgb */ color: rgb(31, 55, 108);
/* oklch */ color: oklch(34.8% 0.097 263.8);
Tailwind
colors: {
  custom: {
    50: '#656d96',
    500: '#1f376c',
    950: '#000000',
  },
}
SCSS
$custom: #1f376c;
$custom-light: #656d96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f376c",
  "rgb": {
    "r": 31,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 221.299,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.09699,
    "h": 263.8
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#1F376C
secondary
#A08447
accent
#B049DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1F376C

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

Preview Lab → · Contrast checker → · Palette generator →

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