#1D23B3#1D23B3

#1D23B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.216 H 268.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#1D23B3
RGBrgb(29, 35, 179)
HSLhsl(238, 72%, 41%)
HSVhsv(238, 84%, 70%)
CMYKcmyk(83.8%, 80.4%, 0%, 29.8%)
CIE-LABlab(25.91, 49.26, -74.54)
CIE-LCHlch(25.91, 89.35, 303.46°)
OKLaboklab(38.25% -0.0047 -0.2159)
OKLCHoklch(38.25% 0.216 268.8)
XYZxyz(9.2416, 4.7168, 43.0624)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D23B3 #B3AD1D
analogous
#1D6EB3 #1D23B3 #621DB3
triadic
#1D23B3 #B31D23 #23B31D
tetradic
#1D23B3 #B31D6E #B3AD1D #1DB362
square
#1D23B3 #B31D6E #B3AD1D #1DB362
split-complementary
#1D23B3 #B3621D #6EB31D
monochromatic
#0C0E4A #14197E #1D23B3 #3037DD #646AE6

Accessibility & contrast

On white

10.80
#1D23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D23B3
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D23B3#FFFFFF#000000##FFFFFF
##1D23B31.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d23b3;
/* rgb */ color: rgb(29, 35, 179);
/* oklch */ color: oklch(38.2% 0.216 268.8);
Tailwind
colors: {
  custom: {
    50: '#7861cb',
    500: '#1d23b3',
    950: '#000000',
  },
}
SCSS
$custom: #1d23b3;
$custom-light: #7861cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d23b3",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 237.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.21598,
    "h": 268.8
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#1D23B3
secondary
#CBC761
accent
#E839EF
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1D23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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