#1E2A63#1E2A63

#1E2A63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.102 H 270.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1E2A63
RGBrgb(30, 42, 99)
HSLhsl(230, 53%, 25%)
HSVhsv(230, 70%, 39%)
CMYKcmyk(69.7%, 57.6%, 0%, 61.2%)
CIE-LABlab(19.36, 15.73, -35.34)
CIE-LCHlch(19.36, 38.69, 293.99°)
OKLaboklab(31.08% 0.0008 -0.1015)
OKLCHoklch(31.08% 0.102 270.5)
XYZxyz(3.6148, 2.8325, 12.1582)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A63 #63571E
analogous
#1E4C63 #1E2A63 #341E63
triadic
#1E2A63 #631E2A #2A631E
tetradic
#1E2A63 #631E4C #63571E #1E6334
square
#1E2A63 #631E4C #63571E #1E6334
split-complementary
#1E2A63 #63341E #4C631E
monochromatic
#070A17 #101634 #1E2A63 #2C3E92 #3A52C1

Accessibility & contrast

On white

13.40
#1E2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A63
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A63#FFFFFF#000000##FFFFFF
##1E2A631.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2a63;
/* rgb */ color: rgb(30, 42, 99);
/* oklch */ color: oklch(31.1% 0.102 270.5);
Tailwind
colors: {
  custom: {
    50: '#636390',
    500: '#1e2a63',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a63;
$custom-light: #636390;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a63",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 229.565,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31079,
    "c": 0.10155,
    "h": 270.5
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#1E2A63
secondary
#988945
accent
#C34BDD
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #1E2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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