#1E235B#1E235B

#1E235B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.099 H 274.5°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#1E235B
RGBrgb(30, 35, 91)
HSLhsl(235, 50%, 24%)
HSVhsv(235, 67%, 36%)
CMYKcmyk(67%, 61.5%, 0%, 64.3%)
CIE-LABlab(16.67, 17.64, -34.41)
CIE-LCHlch(16.67, 38.67, 297.13°)
OKLaboklab(28.86% 0.0078 -0.0989)
OKLCHoklch(28.86% 0.099 274.5)
XYZxyz(3.0242, 2.2332, 10.1672)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E235B #5B561E
analogous
#1E415B #1E235B #371E5B
triadic
#1E235B #5B1E23 #235B1E
tetradic
#1E235B #5B1E41 #5B561E #1E5B37
square
#1E235B #5B1E41 #5B561E #1E5B37
split-complementary
#1E235B #5B371E #415B1E
monochromatic
#080917 #0F112D #1E235B #2D3589 #3C46B7

Accessibility & contrast

On white

14.52
#1E235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E235B
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E235B#FFFFFF#000000##FFFFFF
##1E235B1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e235b;
/* rgb */ color: rgb(30, 35, 91);
/* oklch */ color: oklch(28.9% 0.099 274.5);
Tailwind
colors: {
  custom: {
    50: '#625d8a',
    500: '#1e235b',
    950: '#000000',
  },
}
SCSS
$custom: #1e235b;
$custom-light: #625d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e235b",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 235.082,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28856,
    "c": 0.09921,
    "h": 274.5
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#1E235B
secondary
#908A45
accent
#CE4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E235B

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

Preview Lab → · Contrast checker → · Palette generator →

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