#1E2E7A#1E2E7A

#1E2E7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.131 H 269.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1E2E7A
RGBrgb(30, 46, 122)
HSLhsl(230, 61%, 30%)
HSVhsv(230, 75%, 48%)
CMYKcmyk(75.4%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.42, 22.02, -45.21)
CIE-LCHlch(22.42, 50.29, 295.97°)
OKLaboklab(33.97% -0.002 -0.1305)
OKLCHoklch(33.97% 0.131 269.1)
XYZxyz(5.0241, 3.6346, 18.8454)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E7A #7A6A1E
analogous
#1E5C7A #1E2E7A #3C1E7A
triadic
#1E2E7A #7A1E2E #2E7A1E
tetradic
#1E2E7A #7A1E5C #7A6A1E #1E7A3C
square
#1E2E7A #7A1E5C #7A6A1E #1E7A3C
split-complementary
#1E2E7A #7A3C1E #5C7A1E
monochromatic
#060919 #121B49 #1E2E7A #2A41AB #425BD0

Accessibility & contrast

On white

12.16
#1E2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E7A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E7A#FFFFFF#000000##FFFFFF
##1E2E7A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2e7a;
/* rgb */ color: rgb(30, 46, 122);
/* oklch */ color: oklch(34.0% 0.131 269.1);
Tailwind
colors: {
  custom: {
    50: '#6866a1',
    500: '#1e2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e7a;
$custom-light: #6866a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e7a",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 229.565,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33974,
    "c": 0.13051,
    "h": 269.1
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#1E2E7A
secondary
#AE9C46
accent
#C844E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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