#1E2F8B#1E2F8B

#1E2F8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.153 H 268.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1E2F8B
RGBrgb(30, 47, 139)
HSLhsl(231, 64%, 33%)
HSVhsv(231, 78%, 55%)
CMYKcmyk(78.4%, 66.2%, 0%, 45.5%)
CIE-LABlab(24.23, 27.97, -52.94)
CIE-LCHlch(24.23, 59.87, 297.85°)
OKLaboklab(35.79% -0.0031 -0.1531)
OKLCHoklch(35.79% 0.153 268.8)
XYZxyz(6.2105, 4.1724, 24.8991)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F8B #8B7A1E
analogous
#1E658B #1E2F8B #431E8B
triadic
#1E2F8B #8B1E2F #2F8B1E
tetradic
#1E2F8B #8B1E65 #8B7A1E #1E8B43
square
#1E2F8B #8B1E65 #8B7A1E #1E8B43
split-complementary
#1E2F8B #8B431E #658B1E
monochromatic
#080D26 #131E59 #1E2F8B #2940BD #4B61D8

Accessibility & contrast

On white

11.45
#1E2F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E2F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F8B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F8B#FFFFFF#000000##FFFFFF
##1E2F8B1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2f8b;
/* rgb */ color: rgb(30, 47, 139);
/* oklch */ color: oklch(35.8% 0.153 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d67ae',
    500: '#1e2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f8b;
$custom-light: #6d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f8b",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 230.642,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.15316,
    "h": 268.8
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#1E2F8B
secondary
#BBA94A
accent
#CD40E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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