#1D28A0#1D28A0

#1D28A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.189 H 269.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1D28A0
RGBrgb(29, 40, 160)
HSLhsl(235, 69%, 37%)
HSVhsv(235, 82%, 63%)
CMYKcmyk(81.9%, 75%, 0%, 37.3%)
CIE-LABlab(24.69, 40.10, -65.11)
CIE-LCHlch(24.69, 76.47, 301.63°)
OKLaboklab(36.75% -0.0029 -0.1887)
OKLCHoklch(36.75% 0.189 269.1)
XYZxyz(7.6085, 4.3160, 33.6830)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D28A0 #A0951D
analogous
#1D6AA0 #1D28A0 #541DA0
triadic
#1D28A0 #A01D28 #28A01D
tetradic
#1D28A0 #A01D6A #A0951D #1DA054
square
#1D28A0 #A01D6A #A0951D #1DA054
split-complementary
#1D28A0 #A0541D #6AA01D
monochromatic
#0A0E38 #141B6C #1D28A0 #2635D4 #5762E1

Accessibility & contrast

On white

11.27
#1D28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D28A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D28A0
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D28A0#FFFFFF#000000##FFFFFF
##1D28A01.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d28a0;
/* rgb */ color: rgb(29, 40, 160);
/* oklch */ color: oklch(36.7% 0.189 269.1);
Tailwind
colors: {
  custom: {
    50: '#7363bd',
    500: '#1d28a0',
    950: '#000000',
  },
}
SCSS
$custom: #1d28a0;
$custom-light: #7363bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d28a0",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 234.962,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36749,
    "c": 0.18867,
    "h": 269.1
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#1D28A0
secondary
#C4BB55
accent
#DD3CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1D28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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