#1E2B9F#1E2B9F

#1E2B9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.184 H 269.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1E2B9F
RGBrgb(30, 43, 159)
HSLhsl(234, 68%, 37%)
HSVhsv(234, 81%, 62%)
CMYKcmyk(81.1%, 73%, 0%, 37.6%)
CIE-LABlab(25.28, 38.00, -63.53)
CIE-LCHlch(25.28, 74.03, 300.89°)
OKLaboklab(37.15% -0.0029 -0.184)
OKLCHoklch(37.15% 0.184 269.1)
XYZxyz(7.6552, 4.5061, 33.2605)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B9F #9F921E
analogous
#1E6C9F #1E2B9F #511E9F
triadic
#1E2B9F #9F1E2B #2B9F1E
tetradic
#1E2B9F #9F1E6C #9F921E #1E9F51
square
#1E2B9F #9F1E6C #9F921E #1E9F51
split-complementary
#1E2B9F #9F511E #6C9F1E
monochromatic
#0B0F38 #141D6C #1E2B9F #2839D2 #5866DF

Accessibility & contrast

On white

11.04
#1E2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E2B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B9F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B9F#FFFFFF#000000##FFFFFF
##1E2B9F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2b9f;
/* rgb */ color: rgb(30, 43, 159);
/* oklch */ color: oklch(37.1% 0.184 269.1);
Tailwind
colors: {
  custom: {
    50: '#7265bd',
    500: '#1e2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b9f;
$custom-light: #7265bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b9f",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 233.953,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.18406,
    "h": 269.1
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#1E2B9F
secondary
#C3B856
accent
#DA3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1E2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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