#1F459B#1F459B

#1F459B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.147 H 263.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#1F459B
RGBrgb(31, 69, 155)
HSLhsl(222, 67%, 36%)
HSVhsv(222, 80%, 61%)
CMYKcmyk(80%, 55.5%, 0%, 39.2%)
CIE-LABlab(31.61, 19.33, -50.73)
CIE-LCHlch(31.61, 54.29, 290.86°)
OKLaboklab(41.73% -0.0169 -0.1463)
OKLCHoklch(41.73% 0.147 263.4)
XYZxyz(8.6075, 6.9131, 31.8847)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F459B #9B751F
analogous
#1F839B #1F459B #371F9B
triadic
#1F459B #9B1F45 #459B1F
tetradic
#1F459B #9B1F83 #9B751F #1F9B37
square
#1F459B #9B1F83 #9B751F #1F9B37
split-complementary
#1F459B #9B371F #839B1F
monochromatic
#0B1835 #152E68 #1F459B #295CCE #5780DD

Accessibility & contrast

On white

8.81
#1F459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F459B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F459B#FFFFFF#000000##FFFFFF
##1F459B1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f459b;
/* rgb */ color: rgb(31, 69, 155);
/* oklch */ color: oklch(41.7% 0.147 263.4);
Tailwind
colors: {
  custom: {
    50: '#6f78b9',
    500: '#1f459b',
    950: '#000000',
  },
}
SCSS
$custom: #1f459b;
$custom-light: #6f78b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f459b",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 221.613,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.1473,
    "h": 263.4
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#1F459B
secondary
#C1A055
accent
#B53EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1F459B

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

Preview Lab → · Contrast checker → · Palette generator →

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