#1E235C#1E235C

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

Color values

HEX#1E235C
RGBrgb(30, 35, 92)
HSLhsl(235, 51%, 24%)
HSVhsv(235, 67%, 36%)
CMYKcmyk(67.4%, 62%, 0%, 63.9%)
CIE-LABlab(16.75, 18.03, -34.94)
CIE-LCHlch(16.75, 39.32, 297.29°)
OKLaboklab(28.95% 0.0078 -0.1005)
OKLCHoklch(28.95% 0.101 274.4)
XYZxyz(3.0676, 2.2505, 10.3959)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E235C #5C571E
analogous
#1E425C #1E235C #381E5C
triadic
#1E235C #5C1E23 #235C1E
tetradic
#1E235C #5C1E42 #5C571E #1E5C38
square
#1E235C #5C1E42 #5C571E #1E5C38
split-complementary
#1E235C #5C381E #425C1E
monochromatic
#080917 #0F112E #1E235C #2D358A #3C46B8

Accessibility & contrast

On white

14.48
#1E235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E235C
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E235C#FFFFFF#000000##FFFFFF
##1E235C1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e235c;
/* rgb */ color: rgb(30, 35, 92);
/* oklch */ color: oklch(28.9% 0.101 274.4);
Tailwind
colors: {
  custom: {
    50: '#625d8b',
    500: '#1e235c',
    950: '#000000',
  },
}
SCSS
$custom: #1e235c;
$custom-light: #625d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e235c",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 235.161,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28946,
    "c": 0.10077,
    "h": 274.4
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#1E235C
secondary
#918B45
accent
#CF4DDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E235C

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

Preview Lab → · Contrast checker → · Palette generator →

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