#1F4EA9#1F4EA9

#1F4EA9 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.155 H 261.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#1F4EA9
RGBrgb(31, 78, 169)
HSLhsl(220, 69%, 39%)
HSVhsv(220, 82%, 66%)
CMYKcmyk(81.7%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.21, 18.79, -53.30)
CIE-LCHlch(35.21, 56.52, 289.42°)
OKLaboklab(44.79% -0.0221 -0.1537)
OKLCHoklch(44.79% 0.155 261.8)
XYZxyz(10.4483, 8.6034, 38.6384)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4EA9 #A97A1F
analogous
#1F93A9 #1F4EA9 #351FA9
triadic
#1F4EA9 #A91F4E #4EA91F
tetradic
#1F4EA9 #A91F93 #A97A1F #1FA935
square
#1F4EA9 #A91F93 #A97A1F #1FA935
split-complementary
#1F4EA9 #A9351F #93A91F
monochromatic
#0C1E42 #163675 #1F4EA9 #2D67D8 #608DE2

Accessibility & contrast

On white

7.72
#1F4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1F4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4EA9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4EA9#FFFFFF#000000##FFFFFF
##1F4EA91.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0359AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f4ea9;
/* rgb */ color: rgb(31, 78, 169);
/* oklch */ color: oklch(44.8% 0.155 261.8);
Tailwind
colors: {
  custom: {
    50: '#727ec3',
    500: '#1f4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #1f4ea9;
$custom-light: #727ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4ea9",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 219.565,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.1553,
    "h": 261.8
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#1F4EA9
secondary
#C7A35D
accent
#B03CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1F4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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