#1F289B#1F289B

#1F289B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.182 H 269.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1F289B
RGBrgb(31, 40, 155)
HSLhsl(236, 67%, 36%)
HSVhsv(236, 80%, 61%)
CMYKcmyk(80%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.24, 38.48, -62.80)
CIE-LCHlch(24.24, 73.65, 301.50°)
OKLaboklab(36.29% -0.0002 -0.1819)
OKLCHoklch(36.29% 0.182 269.9)
XYZxyz(7.2382, 4.1746, 31.4283)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F289B #9B921F
analogous
#1F669B #1F289B #541F9B
triadic
#1F289B #9B1F28 #289B1F
tetradic
#1F289B #9B1F66 #9B921F #1F9B54
square
#1F289B #9B1F66 #9B921F #1F9B54
split-complementary
#1F289B #9B541F #669B1F
monochromatic
#0B0E35 #151B68 #1F289B #2935CE #5761DD

Accessibility & contrast

On white

11.44
#1F289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F289B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F289B#FFFFFF#000000##FFFFFF
##1F289B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f289b;
/* rgb */ color: rgb(31, 40, 155);
/* oklch */ color: oklch(36.3% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#7263ba',
    500: '#1f289b',
    950: '#000000',
  },
}
SCSS
$custom: #1f289b;
$custom-light: #7263ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f289b",
  "rgb": {
    "r": 31,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 235.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36293,
    "c": 0.18188,
    "h": 269.9
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#1F289B
secondary
#C1B955
accent
#DD3EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1F289B

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

Preview Lab → · Contrast checker → · Palette generator →

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