#1E235F#1E235F

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

Color values

HEX#1E235F
RGBrgb(30, 35, 95)
HSLhsl(235, 52%, 25%)
HSVhsv(235, 68%, 37%)
CMYKcmyk(68.4%, 63.2%, 0%, 62.7%)
CIE-LABlab(17.01, 19.20, -36.52)
CIE-LCHlch(17.01, 41.26, 297.73°)
OKLaboklab(29.22% 0.0078 -0.1051)
OKLCHoklch(29.22% 0.105 274.2)
XYZxyz(3.2013, 2.3040, 11.1003)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E235F #5F5A1E
analogous
#1E445F #1E235F #3A1E5F
triadic
#1E235F #5F1E23 #235F1E
tetradic
#1E235F #5F1E44 #5F5A1E #1E5F3A
square
#1E235F #5F1E44 #5F5A1E #1E5F3A
split-complementary
#1E235F #5F3A1E #445F1E
monochromatic
#070917 #0F1230 #1E235F #2D348E #3B45BC

Accessibility & contrast

On white

14.38
#1E235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E235F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E235F#FFFFFF#000000##FFFFFF
##1E235F1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e235f;
/* rgb */ color: rgb(30, 35, 95);
/* oklch */ color: oklch(29.2% 0.105 274.2);
Tailwind
colors: {
  custom: {
    50: '#625d8d',
    500: '#1e235f',
    950: '#000000',
  },
}
SCSS
$custom: #1e235f;
$custom-light: #625d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e235f",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 235.385,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29218,
    "c": 0.10539,
    "h": 274.2
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#1E235F
secondary
#948E45
accent
#D04CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E235F

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

Preview Lab → · Contrast checker → · Palette generator →

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