#1F459E#1F459E

#1F459E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.151 H 263.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#1F459E
RGBrgb(31, 69, 158)
HSLhsl(222, 67%, 37%)
HSVhsv(222, 80%, 62%)
CMYKcmyk(80.4%, 56.3%, 0%, 38%)
CIE-LABlab(31.84, 20.52, -52.17)
CIE-LCHlch(31.84, 56.06, 291.47°)
OKLaboklab(41.98% -0.0167 -0.1505)
OKLCHoklch(41.98% 0.151 263.7)
XYZxyz(8.8625, 7.0151, 33.2281)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F459E #9E781F
analogous
#1F859E #1F459E #381F9E
triadic
#1F459E #9E1F45 #459E1F
tetradic
#1F459E #9E1F85 #9E781F #1F9E38
square
#1F459E #9E1F85 #9E781F #1F9E38
split-complementary
#1F459E #9E381F #859E1F
monochromatic
#0B1838 #152F6B #1F459E #295BD1 #5981DE

Accessibility & contrast

On white

8.74
#1F459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F459E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F459E#FFFFFF#000000##FFFFFF
##1F459E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f459e;
/* rgb */ color: rgb(31, 69, 158);
/* oklch */ color: oklch(42.0% 0.151 263.7);
Tailwind
colors: {
  custom: {
    50: '#7078bb',
    500: '#1f459e',
    950: '#000000',
  },
}
SCSS
$custom: #1f459e;
$custom-light: #7078bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f459e",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 222.047,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.15147,
    "h": 263.7
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F459E

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

Preview Lab → · Contrast checker → · Palette generator →

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