#1E2C9B#1E2C9B

#1E2C9B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.178 H 269.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#1E2C9B
RGBrgb(30, 44, 155)
HSLhsl(233, 68%, 36%)
HSVhsv(233, 81%, 61%)
CMYKcmyk(80.6%, 71.6%, 0%, 39.2%)
CIE-LABlab(25.09, 35.93, -61.40)
CIE-LCHlch(25.09, 71.14, 300.34°)
OKLaboklab(36.89% -0.0029 -0.1779)
OKLCHoklch(36.89% 0.178 269.1)
XYZxyz(7.3505, 4.4431, 31.4742)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C9B #9B8D1E
analogous
#1E6B9B #1E2C9B #4F1E9B
triadic
#1E2C9B #9B1E2C #2C9B1E
tetradic
#1E2C9B #9B1E6B #9B8D1E #1E9B4F
square
#1E2C9B #9B1E6B #9B8D1E #1E9B4F
split-complementary
#1E2C9B #9B4F1E #6B9B1E
monochromatic
#0A0F34 #141D68 #1E2C9B #283BCE #5565DE

Accessibility & contrast

On white

11.12
#1E2C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E2C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C9B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C9B#FFFFFF#000000##FFFFFF
##1E2C9B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2c9b;
/* rgb */ color: rgb(30, 44, 155);
/* oklch */ color: oklch(36.9% 0.178 269.1);
Tailwind
colors: {
  custom: {
    50: '#7165ba',
    500: '#1e2c9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c9b;
$custom-light: #7165ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c9b",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 233.28,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36886,
    "c": 0.17788,
    "h": 269.1
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

primary
#1E2C9B
secondary
#C2B553
accent
#D73DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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