#1F2376#1F2376

#1F2376 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.139 H 273.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#1F2376
RGBrgb(31, 35, 118)
HSLhsl(237, 58%, 29%)
HSVhsv(237, 74%, 46%)
CMYKcmyk(73.7%, 70.3%, 0%, 53.7%)
CIE-LABlab(19.23, 28.16, -47.88)
CIE-LCHlch(19.23, 55.55, 300.46°)
OKLaboklab(31.53% 0.0075 -0.1384)
OKLCHoklch(31.53% 0.139 273.1)
XYZxyz(4.4350, 2.8009, 17.4429)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2376 #76721F
analogous
#1F4F76 #1F2376 #471F76
triadic
#1F2376 #761F23 #23761F
tetradic
#1F2376 #761F4F #76721F #1F7647
square
#1F2376 #761F4F #76721F #1F7647
split-complementary
#1F2376 #76471F #4F761F
monochromatic
#060718 #121546 #1F2376 #2C31A6 #4248CD

Accessibility & contrast

On white

13.46
#1F2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1F2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2376
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2376#FFFFFF#000000##FFFFFF
##1F23761.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1f2376;
/* rgb */ color: rgb(31, 35, 118);
/* oklch */ color: oklch(31.5% 0.139 273.1);
Tailwind
colors: {
  custom: {
    50: '#695e9e',
    500: '#1f2376',
    950: '#000000',
  },
}
SCSS
$custom: #1f2376;
$custom-light: #695e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2376",
  "rgb": {
    "r": 31,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 237.241,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31528,
    "c": 0.13859,
    "h": 273.1
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#1F2376
secondary
#AAA547
accent
#DA46E2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1F2376

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

Preview Lab → · Contrast checker → · Palette generator →

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