#1F459F#1F459F

#1F459F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.153 H 263.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#1F459F
RGBrgb(31, 69, 159)
HSLhsl(222, 67%, 37%)
HSVhsv(222, 81%, 62%)
CMYKcmyk(80.5%, 56.6%, 0%, 37.6%)
CIE-LABlab(31.92, 20.91, -52.64)
CIE-LCHlch(31.92, 56.65, 291.67°)
OKLaboklab(42.06% -0.0166 -0.1519)
OKLCHoklch(42.06% 0.153 263.8)
XYZxyz(8.9490, 7.0497, 33.6832)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F459F #9F791F
analogous
#1F859F #1F459F #391F9F
triadic
#1F459F #9F1F45 #459F1F
tetradic
#1F459F #9F1F85 #9F791F #1F9F39
square
#1F459F #9F1F85 #9F791F #1F9F39
split-complementary
#1F459F #9F391F #859F1F
monochromatic
#0B1939 #152F6C #1F459F #295BD2 #5A81DF

Accessibility & contrast

On white

8.71
#1F459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1F459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F459F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F459F#FFFFFF#000000##FFFFFF
##1F459F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f459f;
/* rgb */ color: rgb(31, 69, 159);
/* oklch */ color: oklch(42.1% 0.153 263.8);
Tailwind
colors: {
  custom: {
    50: '#7078bc',
    500: '#1f459f',
    950: '#000000',
  },
}
SCSS
$custom: #1f459f;
$custom-light: #7078bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f459f",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 222.188,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.15285,
    "h": 263.8
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#1F459F
secondary
#C3A357
accent
#B73EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F459F

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

Preview Lab → · Contrast checker → · Palette generator →

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