#1E2E7B#1E2E7B

#1E2E7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.132 H 269.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1E2E7B
RGBrgb(30, 46, 123)
HSLhsl(230, 61%, 30%)
HSVhsv(230, 76%, 48%)
CMYKcmyk(75.6%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.51, 22.42, -45.70)
CIE-LCHlch(22.51, 50.90, 296.13°)
OKLaboklab(34.07% -0.002 -0.1319)
OKLCHoklch(34.07% 0.132 269.1)
XYZxyz(5.0863, 3.6595, 19.1734)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E7B #7B6B1E
analogous
#1E5D7B #1E2E7B #3C1E7B
triadic
#1E2E7B #7B1E2E #2E7B1E
tetradic
#1E2E7B #7B1E5D #7B6B1E #1E7B3C
square
#1E2E7B #7B1E5D #7B6B1E #1E7B3C
split-complementary
#1E2E7B #7B3C1E #5D7B1E
monochromatic
#060919 #121C4A #1E2E7B #2A40AC #425BD1

Accessibility & contrast

On white

12.12
#1E2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E7B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E7B#FFFFFF#000000##FFFFFF
##1E2E7B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2e7b;
/* rgb */ color: rgb(30, 46, 123);
/* oklch */ color: oklch(34.1% 0.132 269.1);
Tailwind
colors: {
  custom: {
    50: '#6866a2',
    500: '#1e2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e7b;
$custom-light: #6866a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e7b",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 229.677,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.13196,
    "h": 269.1
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#1E2E7B
secondary
#AE9D46
accent
#C844E4
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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