#1E205F#1E205F

#1E205F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.110 H 275.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#1E205F
RGBrgb(30, 32, 95)
HSLhsl(238, 52%, 25%)
HSVhsv(238, 68%, 37%)
CMYKcmyk(68.4%, 66.3%, 0%, 62.7%)
CIE-LABlab(16.18, 21.33, -37.87)
CIE-LCHlch(16.18, 43.46, 299.39°)
OKLaboklab(28.61% 0.0107 -0.1091)
OKLCHoklch(28.61% 0.11 275.6)
XYZxyz(3.1168, 2.1350, 11.0721)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E205F #5F5D1E
analogous
#1E415F #1E205F #3D1E5F
triadic
#1E205F #5F1E20 #205F1E
tetradic
#1E205F #5F1E41 #5F5D1E #1E5F3D
square
#1E205F #5F1E41 #5F5D1E #1E5F3D
split-complementary
#1E205F #5F3D1E #415F1E
monochromatic
#070817 #0F1030 #1E205F #2D308E #3B3FBC

Accessibility & contrast

On white

14.72
#1E205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E205F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E205F#FFFFFF#000000##FFFFFF
##1E205F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e205f;
/* rgb */ color: rgb(30, 32, 95);
/* oklch */ color: oklch(28.6% 0.110 275.6);
Tailwind
colors: {
  custom: {
    50: '#635b8d',
    500: '#1e205f',
    950: '#000000',
  },
}
SCSS
$custom: #1e205f;
$custom-light: #635b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e205f",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 238.154,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.10961,
    "h": 275.6
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#1E205F
secondary
#949145
accent
#D74CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E205F

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

Preview Lab → · Contrast checker → · Palette generator →

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