#1E237C#1E237C

#1E237C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.147 H 272.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1E237C
RGBrgb(30, 35, 124)
HSLhsl(237, 61%, 30%)
HSVhsv(237, 76%, 49%)
CMYKcmyk(75.8%, 71.8%, 0%, 51.4%)
CIE-LABlab(19.77, 30.28, -50.82)
CIE-LCHlch(19.77, 59.16, 300.78°)
OKLaboklab(32.09% 0.0055 -0.147)
OKLCHoklch(32.09% 0.147 272.2)
XYZxyz(4.7733, 2.9328, 19.3794)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E237C #7C771E
analogous
#1E527C #1E237C #481E7C
triadic
#1E237C #7C1E23 #237C1E
tetradic
#1E237C #7C1E52 #7C771E #1E7C48
square
#1E237C #7C1E52 #7C771E #1E7C48
split-complementary
#1E237C #7C481E #527C1E
monochromatic
#060719 #12154B #1E237C #2A31AD #434AD1

Accessibility & contrast

On white

13.24
#1E237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E237C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E237C#FFFFFF#000000##FFFFFF
##1E237C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e237c;
/* rgb */ color: rgb(30, 35, 124);
/* oklch */ color: oklch(32.1% 0.147 272.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ea3',
    500: '#1e237c',
    950: '#000000',
  },
}
SCSS
$custom: #1e237c;
$custom-light: #6a5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e237c",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 236.809,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3209,
    "c": 0.14711,
    "h": 272.2
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#1E237C
secondary
#AFAA46
accent
#DC44E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E237C

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

Preview Lab → · Contrast checker → · Palette generator →

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