#1E23B3#1E23B3

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

Color values

HEX#1E23B3
RGBrgb(30, 35, 179)
HSLhsl(238, 71%, 41%)
HSVhsv(238, 83%, 70%)
CMYKcmyk(83.2%, 80.4%, 0%, 29.8%)
CIE-LABlab(25.96, 49.31, -74.47)
CIE-LCHlch(25.96, 89.32, 303.51°)
OKLaboklab(38.29% -0.0037 -0.2157)
OKLCHoklch(38.29% 0.216 269)
XYZxyz(9.2704, 4.7316, 43.0638)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E23B3 #B3AE1E
analogous
#1E6DB3 #1E23B3 #641EB3
triadic
#1E23B3 #B31E23 #23B31E
tetradic
#1E23B3 #B31E6D #B3AE1E #1EB364
square
#1E23B3 #B31E6D #B3AE1E #1EB364
split-complementary
#1E23B3 #B3641E #6DB31E
monochromatic
#0C0F4A #15197F #1E23B3 #3237DD #666AE5

Accessibility & contrast

On white

10.79
#1E23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E23B3
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E23B3#FFFFFF#000000##FFFFFF
##1E23B31.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e23b3;
/* rgb */ color: rgb(30, 35, 179);
/* oklch */ color: oklch(38.3% 0.216 269.0);
Tailwind
colors: {
  custom: {
    50: '#7861cb',
    500: '#1e23b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e23b3;
$custom-light: #7861cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e23b3",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 237.987,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.21573,
    "h": 269
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#1E23B3
secondary
#CBC762
accent
#E83AEE
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1E23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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