#1E2E8C#1E2E8C

#1E2E8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.156 H 269.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1E2E8C
RGBrgb(30, 46, 140)
HSLhsl(231, 65%, 33%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(78.6%, 67.1%, 0%, 45.1%)
CIE-LABlab(24.07, 29.02, -53.82)
CIE-LCHlch(24.07, 61.15, 298.34°)
OKLaboklab(35.7% -0.0026 -0.1557)
OKLCHoklch(35.7% 0.156 269)
XYZxyz(6.2444, 4.1228, 25.2725)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E8C #8C7C1E
analogous
#1E658C #1E2E8C #451E8C
triadic
#1E2E8C #8C1E2E #2E8C1E
tetradic
#1E2E8C #8C1E65 #8C7C1E #1E8C45
square
#1E2E8C #8C1E65 #8C7C1E #1E8C45
split-complementary
#1E2E8C #8C451E #658C1E
monochromatic
#080D27 #131D5A #1E2E8C #293FBE #4C60D9

Accessibility & contrast

On white

11.51
#1E2E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E2E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E8C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E8C#FFFFFF#000000##FFFFFF
##1E2E8C1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2e8c;
/* rgb */ color: rgb(30, 46, 140);
/* oklch */ color: oklch(35.7% 0.156 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1e2e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e8c;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e8c",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 231.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.15575,
    "h": 269
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#1E2E8C
secondary
#BBAB4B
accent
#CF40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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