#1F29A0#1F29A0

#1F29A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.187 H 269.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#1F29A0
RGBrgb(31, 41, 160)
HSLhsl(235, 68%, 37%)
HSVhsv(235, 81%, 63%)
CMYKcmyk(80.6%, 74.4%, 0%, 37.3%)
CIE-LABlab(25.00, 39.65, -64.60)
CIE-LCHlch(25.00, 75.80, 301.54°)
OKLaboklab(36.99% -0.0013 -0.1871)
OKLCHoklch(36.99% 0.187 269.6)
XYZxyz(7.7010, 4.4144, 33.6971)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F29A0 #A0961F
analogous
#1F69A0 #1F29A0 #561FA0
triadic
#1F29A0 #A01F29 #29A01F
tetradic
#1F29A0 #A01F69 #A0961F #1FA056
square
#1F29A0 #A01F69 #A0961F #1FA056
split-complementary
#1F29A0 #A0561F #69A01F
monochromatic
#0B0F39 #151C6D #1F29A0 #2936D3 #5A65DF

Accessibility & contrast

On white

11.15
#1F29A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1F29A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F29A0
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F29A0#FFFFFF#000000##FFFFFF
##1F29A01.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f29a0;
/* rgb */ color: rgb(31, 41, 160);
/* oklch */ color: oklch(37.0% 0.187 269.6);
Tailwind
colors: {
  custom: {
    50: '#7364bd',
    500: '#1f29a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f29a0;
$custom-light: #7364bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f29a0",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 235.349,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36993,
    "c": 0.18713,
    "h": 269.6
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#1F29A0
secondary
#C3BB58
accent
#DD3DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1F29A0

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

Preview Lab → · Contrast checker → · Palette generator →

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