#1F3488#1F3488

#1F3488 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.142 H 267.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1F3488
RGBrgb(31, 52, 136)
HSLhsl(228, 63%, 33%)
HSVhsv(228, 77%, 53%)
CMYKcmyk(77.2%, 61.8%, 0%, 46.7%)
CIE-LABlab(25.33, 23.49, -49.27)
CIE-LCHlch(25.33, 54.58, 295.50°)
OKLaboklab(36.53% -0.0055 -0.1423)
OKLCHoklch(36.53% 0.142 267.8)
XYZxyz(6.2355, 4.5242, 23.8324)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3488 #88731F
analogous
#1F6888 #1F3488 #3E1F88
triadic
#1F3488 #881F34 #34881F
tetradic
#1F3488 #881F68 #88731F #1F883E
square
#1F3488 #881F68 #88731F #1F883E
split-complementary
#1F3488 #883E1F #68881F
monochromatic
#080E24 #142156 #1F3488 #2A47BA #4B67D6

Accessibility & contrast

On white

11.02
#1F3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1F3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3488
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3488#FFFFFF#000000##FFFFFF
##1F34881.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3488;
/* rgb */ color: rgb(31, 52, 136);
/* oklch */ color: oklch(36.5% 0.142 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c6bab',
    500: '#1f3488',
    950: '#000000',
  },
}
SCSS
$custom: #1f3488;
$custom-light: #6c6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3488",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 228,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3653,
    "c": 0.14241,
    "h": 267.8
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#1F3488
secondary
#B9A34A
accent
#C542E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1F3488

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

Preview Lab → · Contrast checker → · Palette generator →

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