#1E2E8F#1E2E8F

#1E2E8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.160 H 269.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1E2E8F
RGBrgb(30, 46, 143)
HSLhsl(232, 65%, 34%)
HSVhsv(232, 79%, 56%)
CMYKcmyk(79%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.36, 30.17, -55.21)
CIE-LCHlch(24.36, 62.91, 298.65°)
OKLaboklab(36% -0.0028 -0.1598)
OKLCHoklch(36% 0.16 269)
XYZxyz(6.4686, 4.2125, 26.4534)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E8F #8F7F1E
analogous
#1E678F #1E2E8F #471E8F
triadic
#1E2E8F #8F1E2E #2E8F1E
tetradic
#1E2E8F #8F1E67 #8F7F1E #1E8F47
square
#1E2E8F #8F1E67 #8F7F1E #1E8F47
split-complementary
#1E2E8F #8F471E #678F1E
monochromatic
#090D2A #131E5C #1E2E8F #293EC2 #4E61DA

Accessibility & contrast

On white

11.40
#1E2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E8F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E8F#FFFFFF#000000##FFFFFF
##1E2E8F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2e8f;
/* rgb */ color: rgb(30, 46, 143);
/* oklch */ color: oklch(36.0% 0.160 269.0);
Tailwind
colors: {
  custom: {
    50: '#6e66b1',
    500: '#1e2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e8f;
$custom-light: #6e66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e8f",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 231.504,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35998,
    "c": 0.1598,
    "h": 269
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#1E2E8F
secondary
#BCAD4C
accent
#D040E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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