#1D28A6#1D28A6

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

Color values

HEX#1D28A6
RGBrgb(29, 40, 166)
HSLhsl(235, 70%, 38%)
HSVhsv(235, 83%, 65%)
CMYKcmyk(82.5%, 75.9%, 0%, 34.9%)
CIE-LABlab(25.35, 42.20, -67.65)
CIE-LCHlch(25.35, 79.73, 301.95°)
OKLaboklab(37.42% -0.0037 -0.196)
OKLCHoklch(37.42% 0.196 268.9)
XYZxyz(8.1461, 4.5310, 36.5142)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D28A6 #A69B1D
analogous
#1D6DA6 #1D28A6 #561DA6
triadic
#1D28A6 #A61D28 #28A61D
tetradic
#1D28A6 #A61D6D #A69B1D #1DA656
square
#1D28A6 #A61D6D #A69B1D #1DA656
split-complementary
#1D28A6 #A6561D #6DA61D
monochromatic
#0B0F3E #141B72 #1D28A6 #2735D9 #5B66E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D28A6#FFFFFF#000000##FFFFFF
##1D28A61.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)
#0043AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d28a6;
/* rgb */ color: rgb(29, 40, 166);
/* oklch */ color: oklch(37.4% 0.196 268.9);
Tailwind
colors: {
  custom: {
    50: '#7463c2',
    500: '#1d28a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d28a6;
$custom-light: #7463c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d28a6",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 235.182,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.19607,
    "h": 268.9
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#1D28A6
secondary
#C6BD59
accent
#DF3BED
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #1D28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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