#1E245D#1E245D

#1E245D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.101 H 273.8°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1E245D
RGBrgb(30, 36, 93)
HSLhsl(234, 51%, 24%)
HSVhsv(234, 68%, 36%)
CMYKcmyk(67.7%, 61.3%, 0%, 63.5%)
CIE-LABlab(17.12, 17.70, -35.01)
CIE-LCHlch(17.12, 39.23, 296.81°)
OKLaboklab(29.25% 0.0068 -0.1006)
OKLCHoklch(29.25% 0.101 273.8)
XYZxyz(3.1414, 2.3278, 10.6376)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E245D #5D571E
analogous
#1E445D #1E245D #381E5D
triadic
#1E245D #5D1E24 #245D1E
tetradic
#1E245D #5D1E44 #5D571E #1E5D38
square
#1E245D #5D1E44 #5D571E #1E5D38
split-complementary
#1E245D #5D381E #445D1E
monochromatic
#070917 #0F122F #1E245D #2D368B #3C48BA

Accessibility & contrast

On white

14.33
#1E245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E245D
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E245D#FFFFFF#000000##FFFFFF
##1E245D1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e245d;
/* rgb */ color: rgb(30, 36, 93);
/* oklch */ color: oklch(29.2% 0.101 273.8);
Tailwind
colors: {
  custom: {
    50: '#625e8b',
    500: '#1e245d',
    950: '#000000',
  },
}
SCSS
$custom: #1e245d;
$custom-light: #625e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e245d",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 234.286,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29248,
    "c": 0.10087,
    "h": 273.8
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#1E245D
secondary
#928B45
accent
#CD4DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E245D

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

Preview Lab → · Contrast checker → · Palette generator →

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