#1F439E#1F439E

#1F439E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.154 H 264.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#1F439E
RGBrgb(31, 67, 158)
HSLhsl(223, 67%, 37%)
HSVhsv(223, 80%, 62%)
CMYKcmyk(80.4%, 57.6%, 0%, 38%)
CIE-LABlab(31.28, 21.88, -53.07)
CIE-LCHlch(31.28, 57.40, 292.41°)
OKLaboklab(41.56% -0.0153 -0.1532)
OKLCHoklch(41.56% 0.154 264.3)
XYZxyz(8.7416, 6.7732, 33.1878)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F439E #9E7A1F
analogous
#1F839E #1F439E #3A1F9E
triadic
#1F439E #9E1F43 #439E1F
tetradic
#1F439E #9E1F83 #9E7A1F #1F9E3A
square
#1F439E #9E1F83 #9E7A1F #1F9E3A
split-complementary
#1F439E #9E3A1F #839E1F
monochromatic
#0B1838 #152D6B #1F439E #2959D1 #597FDE

Accessibility & contrast

On white

8.92
#1F439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1F439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F439E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F439E#FFFFFF#000000##FFFFFF
##1F439E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f439e;
/* rgb */ color: rgb(31, 67, 158);
/* oklch */ color: oklch(41.6% 0.154 264.3);
Tailwind
colors: {
  custom: {
    50: '#7076bb',
    500: '#1f439e',
    950: '#000000',
  },
}
SCSS
$custom: #1f439e;
$custom-light: #7076bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f439e",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 222.992,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.154,
    "h": 264.3
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#1F439E
secondary
#C2A456
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F439E

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

Preview Lab → · Contrast checker → · Palette generator →

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