#1E245C#1E245C

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

Color values

HEX#1E245C
RGBrgb(30, 36, 92)
HSLhsl(234, 51%, 24%)
HSVhsv(234, 67%, 36%)
CMYKcmyk(67.4%, 60.9%, 0%, 63.9%)
CIE-LABlab(17.04, 17.30, -34.48)
CIE-LCHlch(17.04, 38.58, 296.65°)
OKLaboklab(29.16% 0.0067 -0.0991)
OKLCHoklch(29.16% 0.099 273.9)
XYZxyz(3.0974, 2.3102, 10.4058)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E245C #5C561E
analogous
#1E435C #1E245C #371E5C
triadic
#1E245C #5C1E24 #245C1E
tetradic
#1E245C #5C1E43 #5C561E #1E5C37
square
#1E245C #5C1E43 #5C561E #1E5C37
split-complementary
#1E245C #5C371E #435C1E
monochromatic
#080917 #0F122E #1E245C #2D368A #3C48B8

Accessibility & contrast

On white

14.36
#1E245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E245C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E245C#FFFFFF#000000##FFFFFF
##1E245C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e245c;
/* rgb */ color: rgb(30, 36, 92);
/* oklch */ color: oklch(29.2% 0.099 273.9);
Tailwind
colors: {
  custom: {
    50: '#625e8b',
    500: '#1e245c',
    950: '#000000',
  },
}
SCSS
$custom: #1e245c;
$custom-light: #625e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e245c",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 234.194,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29159,
    "c": 0.09932,
    "h": 273.9
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#1E245C
secondary
#918A45
accent
#CD4DDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E245C

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

Preview Lab → · Contrast checker → · Palette generator →

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