#1E235E#1E235E

#1E235E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.104 H 274.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#1E235E
RGBrgb(30, 35, 94)
HSLhsl(235, 52%, 24%)
HSVhsv(235, 68%, 37%)
CMYKcmyk(68.1%, 62.8%, 0%, 63.1%)
CIE-LABlab(16.92, 18.81, -36.00)
CIE-LCHlch(16.92, 40.61, 297.59°)
OKLaboklab(29.13% 0.0078 -0.1036)
OKLCHoklch(29.13% 0.104 274.3)
XYZxyz(3.1562, 2.2860, 10.8624)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E235E #5E591E
analogous
#1E435E #1E235E #391E5E
triadic
#1E235E #5E1E23 #235E1E
tetradic
#1E235E #5E1E43 #5E591E #1E5E39
square
#1E235E #5E1E43 #5E591E #1E5E39
split-complementary
#1E235E #5E391E #435E1E
monochromatic
#070917 #0F1230 #1E235E #2D348C #3C46BB

Accessibility & contrast

On white

14.41
#1E235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E235E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E235E#FFFFFF#000000##FFFFFF
##1E235E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e235e;
/* rgb */ color: rgb(30, 35, 94);
/* oklch */ color: oklch(29.1% 0.104 274.3);
Tailwind
colors: {
  custom: {
    50: '#625d8c',
    500: '#1e235e',
    950: '#000000',
  },
}
SCSS
$custom: #1e235e;
$custom-light: #625d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e235e",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 235.313,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29127,
    "c": 0.10385,
    "h": 274.3
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#1E235E
secondary
#938D45
accent
#D04DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E235E

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

Preview Lab → · Contrast checker → · Palette generator →

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