#1E2E9B#1E2E9B

#1E2E9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.176 H 268.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#1E2E9B
RGBrgb(30, 46, 155)
HSLhsl(232, 68%, 36%)
HSVhsv(232, 81%, 61%)
CMYKcmyk(80.6%, 70.3%, 0%, 39.2%)
CIE-LABlab(25.55, 34.66, -60.64)
CIE-LCHlch(25.55, 69.84, 299.75°)
OKLaboklab(37.22% -0.0038 -0.1756)
OKLCHoklch(37.22% 0.176 268.8)
XYZxyz(7.4268, 4.5957, 31.4996)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E9B #9B8B1E
analogous
#1E6D9B #1E2E9B #4D1E9B
triadic
#1E2E9B #9B1E2E #2E9B1E
tetradic
#1E2E9B #9B1E6D #9B8B1E #1E9B4D
square
#1E2E9B #9B1E6D #9B8B1E #1E9B4D
split-complementary
#1E2E9B #9B4D1E #6D9B1E
monochromatic
#0A1034 #141F68 #1E2E9B #283DCE #5567DE

Accessibility & contrast

On white

10.94
#1E2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1E2E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E9B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E9B#FFFFFF#000000##FFFFFF
##1E2E9B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e2e9b;
/* rgb */ color: rgb(30, 46, 155);
/* oklch */ color: oklch(37.2% 0.176 268.8);
Tailwind
colors: {
  custom: {
    50: '#7167ba',
    500: '#1e2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e9b;
$custom-light: #7167ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e9b",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 232.32,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.17567,
    "h": 268.8
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#1E2E9B
secondary
#C2B353
accent
#D43DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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