#1E205E#1E205E

#1E205E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.108 H 275.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1E205E
RGBrgb(30, 32, 94)
HSLhsl(238, 52%, 24%)
HSVhsv(238, 68%, 37%)
CMYKcmyk(68.1%, 66%, 0%, 63.1%)
CIE-LABlab(16.09, 20.95, -37.35)
CIE-LCHlch(16.09, 42.83, 299.29°)
OKLaboklab(28.51% 0.0108 -0.1076)
OKLCHoklch(28.51% 0.108 275.7)
XYZxyz(3.0717, 2.1169, 10.8342)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E205E #5E5C1E
analogous
#1E405E #1E205E #3C1E5E
triadic
#1E205E #5E1E20 #205E1E
tetradic
#1E205E #5E1E40 #5E5C1E #1E5E3C
square
#1E205E #5E1E40 #5E5C1E #1E5E3C
split-complementary
#1E205E #5E3C1E #405E1E
monochromatic
#070817 #0F1030 #1E205E #2D308C #3C40BB

Accessibility & contrast

On white

14.75
#1E205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E205E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E205E#FFFFFF#000000##FFFFFF
##1E205E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e205e;
/* rgb */ color: rgb(30, 32, 94);
/* oklch */ color: oklch(28.5% 0.108 275.7);
Tailwind
colors: {
  custom: {
    50: '#635b8c',
    500: '#1e205e',
    950: '#000000',
  },
}
SCSS
$custom: #1e205e;
$custom-light: #635b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e205e",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 238.125,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28512,
    "c": 0.10811,
    "h": 275.7
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#1E205E
secondary
#939045
accent
#D74DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E205E

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

Preview Lab → · Contrast checker → · Palette generator →

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