#1E2E9E#1E2E9E

#1E2E9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.180 H 268.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#1E2E9E
RGBrgb(30, 46, 158)
HSLhsl(233, 68%, 37%)
HSVhsv(233, 81%, 62%)
CMYKcmyk(81%, 70.9%, 0%, 38%)
CIE-LABlab(25.86, 35.77, -61.96)
CIE-LCHlch(25.86, 71.55, 299.99°)
OKLaboklab(37.54% -0.0041 -0.1795)
OKLCHoklch(37.54% 0.18 268.7)
XYZxyz(7.6818, 4.6977, 32.8430)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E9E #9E8E1E
analogous
#1E6E9E #1E2E9E #4E1E9E
triadic
#1E2E9E #9E1E2E #2E9E1E
tetradic
#1E2E9E #9E1E6E #9E8E1E #1E9E4E
square
#1E2E9E #9E1E6E #9E8E1E #1E9E4E
split-complementary
#1E2E9E #9E4E1E #6E9E1E
monochromatic
#0A1037 #141F6B #1E2E9E #283DD1 #5768DF

Accessibility & contrast

On white

10.83
#1E2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E9E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E9E#FFFFFF#000000##FFFFFF
##1E2E9E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e2e9e;
/* rgb */ color: rgb(30, 46, 158);
/* oklch */ color: oklch(37.5% 0.180 268.7);
Tailwind
colors: {
  custom: {
    50: '#7267bc',
    500: '#1e2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e9e;
$custom-light: #7267bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e9e",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 232.5,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37535,
    "c": 0.17955,
    "h": 268.7
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#1E2E9E
secondary
#C3B555
accent
#D53DEB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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