#1F439A#1F439A

#1F439A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.148 H 264.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1F439A
RGBrgb(31, 67, 154)
HSLhsl(222, 66%, 36%)
HSVhsv(222, 80%, 60%)
CMYKcmyk(79.9%, 56.5%, 0%, 39.6%)
CIE-LABlab(30.97, 20.30, -51.16)
CIE-LCHlch(30.97, 55.04, 291.64°)
OKLaboklab(41.22% -0.0155 -0.1476)
OKLCHoklch(41.22% 0.148 264)
XYZxyz(8.4029, 6.6377, 31.4039)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F439A #9A761F
analogous
#1F819A #1F439A #391F9A
triadic
#1F439A #9A1F43 #439A1F
tetradic
#1F439A #9A1F81 #9A761F #1F9A39
square
#1F439A #9A1F81 #9A761F #1F9A39
split-complementary
#1F439A #9A391F #819A1F
monochromatic
#0A1734 #152D67 #1F439A #2959CD #567EDD

Accessibility & contrast

On white

9.02
#1F439A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F439A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F439A#FFFFFF#000000##FFFFFF
##1F439A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f439a;
/* rgb */ color: rgb(31, 67, 154);
/* oklch */ color: oklch(41.2% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f76b8',
    500: '#1f439a',
    950: '#000000',
  },
}
SCSS
$custom: #1f439a;
$custom-light: #6f76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f439a",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 154
  },
  "hsl": {
    "h": 222.439,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.14845,
    "h": 264
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#1F439A
secondary
#C1A154
accent
#B73EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1F439A

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

Preview Lab → · Contrast checker → · Palette generator →

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