#1E2D73#1E2D73

#1E2D73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.122 H 269.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1E2D73
RGBrgb(30, 45, 115)
HSLhsl(229, 59%, 28%)
HSVhsv(229, 74%, 45%)
CMYKcmyk(73.9%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.54, 19.96, -42.18)
CIE-LCHlch(21.54, 46.66, 295.32°)
OKLaboklab(33.13% -0.0013 -0.1216)
OKLCHoklch(33.13% 0.122 269.4)
XYZxyz(4.5673, 3.3901, 16.6300)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D73 #73641E
analogous
#1E5773 #1E2D73 #391E73
triadic
#1E2D73 #731E2D #2D731E
tetradic
#1E2D73 #731E57 #73641E #1E7339
square
#1E2D73 #731E57 #73641E #1E7339
split-complementary
#1E2D73 #73391E #57731E
monochromatic
#060918 #111A42 #1E2D73 #2B40A4 #3F58CD

Accessibility & contrast

On white

12.51
#1E2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D73
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D73#FFFFFF#000000##FFFFFF
##1E2D731.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2d73;
/* rgb */ color: rgb(30, 45, 115);
/* oklch */ color: oklch(33.1% 0.122 269.4);
Tailwind
colors: {
  custom: {
    50: '#67659c',
    500: '#1e2d73',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d73;
$custom-light: #67659c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d73",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 229.412,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3313,
    "c": 0.12161,
    "h": 269.4
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#1E2D73
secondary
#A79646
accent
#C646E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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