#1F439B#1F439B

#1F439B is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.150 H 264.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#1F439B
RGBrgb(31, 67, 155)
HSLhsl(223, 67%, 36%)
HSVhsv(223, 80%, 61%)
CMYKcmyk(80%, 56.8%, 0%, 39.2%)
CIE-LABlab(31.05, 20.69, -51.64)
CIE-LCHlch(31.05, 55.63, 291.83°)
OKLaboklab(41.3% -0.0155 -0.149)
OKLCHoklch(41.3% 0.15 264.1)
XYZxyz(8.4865, 6.6712, 31.8444)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F439B #9B771F
analogous
#1F819B #1F439B #391F9B
triadic
#1F439B #9B1F43 #439B1F
tetradic
#1F439B #9B1F81 #9B771F #1F9B39
square
#1F439B #9B1F81 #9B771F #1F9B39
split-complementary
#1F439B #9B391F #819B1F
monochromatic
#0B1735 #152D68 #1F439B #2959CE #577EDD

Accessibility & contrast

On white

9.00
#1F439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F439B
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F439B#FFFFFF#000000##FFFFFF
##1F439B1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f439b;
/* rgb */ color: rgb(31, 67, 155);
/* oklch */ color: oklch(41.3% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f76b9',
    500: '#1f439b',
    950: '#000000',
  },
}
SCSS
$custom: #1f439b;
$custom-light: #6f76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f439b",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 222.581,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.14984,
    "h": 264.1
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#1F439B
secondary
#C1A255
accent
#B83EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F439B

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

Preview Lab → · Contrast checker → · Palette generator →

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