#1E245F#1E245F

#1E245F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.104 H 273.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#1E245F
RGBrgb(30, 36, 95)
HSLhsl(234, 52%, 25%)
HSVhsv(234, 68%, 37%)
CMYKcmyk(68.4%, 62.1%, 0%, 62.7%)
CIE-LABlab(17.29, 18.48, -36.06)
CIE-LCHlch(17.29, 40.52, 297.13°)
OKLaboklab(29.43% 0.0068 -0.1037)
OKLCHoklch(29.43% 0.104 273.7)
XYZxyz(3.2312, 2.3637, 11.1102)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E245F #5F591E
analogous
#1E455F #1E245F #391E5F
triadic
#1E245F #5F1E24 #245F1E
tetradic
#1E245F #5F1E45 #5F591E #1E5F39
square
#1E245F #5F1E45 #5F591E #1E5F39
split-complementary
#1E245F #5F391E #455F1E
monochromatic
#070917 #0F1230 #1E245F #2D368E #3B47BC

Accessibility & contrast

On white

14.26
#1E245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E245F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E245F#FFFFFF#000000##FFFFFF
##1E245F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e245f;
/* rgb */ color: rgb(30, 36, 95);
/* oklch */ color: oklch(29.4% 0.104 273.7);
Tailwind
colors: {
  custom: {
    50: '#625e8d',
    500: '#1e245f',
    950: '#000000',
  },
}
SCSS
$custom: #1e245f;
$custom-light: #625e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e245f",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 234.462,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29428,
    "c": 0.10396,
    "h": 273.7
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#1E245F
secondary
#948D45
accent
#CE4CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E245F

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

Preview Lab → · Contrast checker → · Palette generator →

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