#1F29A9#1F29A9

#1F29A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.198 H 269.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#1F29A9
RGBrgb(31, 41, 169)
HSLhsl(236, 69%, 39%)
HSVhsv(236, 82%, 66%)
CMYKcmyk(81.7%, 75.7%, 0%, 33.7%)
CIE-LABlab(25.98, 42.78, -68.42)
CIE-LCHlch(25.98, 80.69, 302.02°)
OKLaboklab(37.99% -0.0026 -0.1982)
OKLCHoklch(37.99% 0.198 269.2)
XYZxyz(8.5170, 4.7408, 37.9946)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F29A9 #A99F1F
analogous
#1F6EA9 #1F29A9 #5A1FA9
triadic
#1F29A9 #A91F29 #29A91F
tetradic
#1F29A9 #A91F6E #A99F1F #1FA95A
square
#1F29A9 #A91F6E #A99F1F #1FA95A
split-complementary
#1F29A9 #A95A1F #6EA91F
monochromatic
#0C1042 #161C75 #1F29A9 #2D39D8 #606AE2

Accessibility & contrast

On white

10.78
#1F29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1F29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F29A9
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F29A9#FFFFFF#000000##FFFFFF
##1F29A91.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f29a9;
/* rgb */ color: rgb(31, 41, 169);
/* oklch */ color: oklch(38.0% 0.198 269.2);
Tailwind
colors: {
  custom: {
    50: '#7564c4',
    500: '#1f29a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f29a9;
$custom-light: #7564c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f29a9",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 235.652,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.19825,
    "h": 269.2
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#1F29A9
secondary
#C7BF5D
accent
#DF3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #1F29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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