#1F439F#1F439F

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

Color values

HEX#1F439F
RGBrgb(31, 67, 159)
HSLhsl(223, 67%, 37%)
HSVhsv(223, 81%, 62%)
CMYKcmyk(80.5%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.37, 22.27, -53.55)
CIE-LCHlch(31.37, 57.99, 292.59°)
OKLaboklab(41.64% -0.0152 -0.1546)
OKLCHoklch(41.64% 0.155 264.4)
XYZxyz(8.8280, 6.8078, 33.6429)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F439F #9F7B1F
analogous
#1F839F #1F439F #3B1F9F
triadic
#1F439F #9F1F43 #439F1F
tetradic
#1F439F #9F1F83 #9F7B1F #1F9F3B
square
#1F439F #9F1F83 #9F7B1F #1F9F3B
split-complementary
#1F439F #9F3B1F #839F1F
monochromatic
#0B1839 #152D6C #1F439F #2959D2 #5A7FDF

Accessibility & contrast

On white

8.89
#1F439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1F439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F439F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F439F#FFFFFF#000000##FFFFFF
##1F439F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f439f;
/* rgb */ color: rgb(31, 67, 159);
/* oklch */ color: oklch(41.6% 0.155 264.4);
Tailwind
colors: {
  custom: {
    50: '#7076bc',
    500: '#1f439f',
    950: '#000000',
  },
}
SCSS
$custom: #1f439f;
$custom-light: #7076bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f439f",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 223.125,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.15538,
    "h": 264.4
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#1F439F
secondary
#C3A457
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F439F

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

Preview Lab → · Contrast checker → · Palette generator →

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