#1E2390#1E2390

#1E2390 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.173 H 270.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1E2390
RGBrgb(30, 35, 144)
HSLhsl(237, 66%, 34%)
HSVhsv(237, 79%, 56%)
CMYKcmyk(79.2%, 75.7%, 0%, 43.5%)
CIE-LABlab(21.91, 37.52, -59.86)
CIE-LCHlch(21.91, 70.65, 302.08°)
OKLaboklab(34.26% 0.0025 -0.1733)
OKLCHoklch(34.26% 0.173 270.8)
XYZxyz(6.1688, 3.4910, 26.7289)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2390 #908B1E
analogous
#1E5C90 #1E2390 #521E90
triadic
#1E2390 #901E23 #23901E
tetradic
#1E2390 #901E5C #908B1E #1E9052
square
#1E2390 #901E5C #908B1E #1E9052
split-complementary
#1E2390 #90521E #5C901E
monochromatic
#090A2B #13175D #1E2390 #292FC3 #4E54DA

Accessibility & contrast

On white

12.36
#1E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2390
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2390#FFFFFF#000000##FFFFFF
##1E23901.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2390;
/* rgb */ color: rgb(30, 35, 144);
/* oklch */ color: oklch(34.3% 0.173 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f5fb2',
    500: '#1e2390',
    950: '#000000',
  },
}
SCSS
$custom: #1e2390;
$custom-light: #6f5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2390",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 237.368,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.17337,
    "h": 270.8
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#1E2390
secondary
#BDB84D
accent
#E13FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2390

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

Preview Lab → · Contrast checker → · Palette generator →

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