#1E2E7E#1E2E7E

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

Color values

HEX#1E2E7E
RGBrgb(30, 46, 126)
HSLhsl(230, 62%, 31%)
HSVhsv(230, 76%, 49%)
CMYKcmyk(76.2%, 63.5%, 0%, 50.6%)
CIE-LABlab(22.78, 23.60, -47.17)
CIE-LCHlch(22.78, 52.74, 296.58°)
OKLaboklab(34.35% -0.002 -0.1362)
OKLCHoklch(34.35% 0.136 269.1)
XYZxyz(5.2770, 3.7358, 20.1776)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E7E #7E6E1E
analogous
#1E5E7E #1E2E7E #3E1E7E
triadic
#1E2E7E #7E1E2E #2E7E1E
tetradic
#1E2E7E #7E1E5E #7E6E1E #1E7E3E
square
#1E2E7E #7E1E5E #7E6E1E #1E7E3E
split-complementary
#1E2E7E #7E3E1E #5E7E1E
monochromatic
#060A1B #121C4D #1E2E7E #2A40AF #445CD2

Accessibility & contrast

On white

12.02
#1E2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E7E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E7E#FFFFFF#000000##FFFFFF
##1E2E7E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2e7e;
/* rgb */ color: rgb(30, 46, 126);
/* oklch */ color: oklch(34.3% 0.136 269.1);
Tailwind
colors: {
  custom: {
    50: '#6966a4',
    500: '#1e2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e7e;
$custom-light: #6966a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e7e",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 230,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.13626,
    "h": 269.1
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#1E2E7E
secondary
#B19F47
accent
#CA43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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