#1E2F75#1E2F75

#1E2F75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.122 H 268.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1E2F75
RGBrgb(30, 47, 117)
HSLhsl(228, 59%, 29%)
HSVhsv(228, 74%, 46%)
CMYKcmyk(74.4%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.28, 19.33, -42.26)
CIE-LCHlch(22.28, 46.48, 294.58°)
OKLaboklab(33.73% -0.0029 -0.1218)
OKLCHoklch(33.73% 0.122 268.6)
XYZxyz(4.7617, 3.5929, 17.2687)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F75 #75641E
analogous
#1E5B75 #1E2F75 #391E75
triadic
#1E2F75 #751E2F #2F751E
tetradic
#1E2F75 #751E5B #75641E #1E7539
square
#1E2F75 #751E5B #75641E #1E7539
split-complementary
#1E2F75 #75391E #5B751E
monochromatic
#060A18 #121B44 #1E2F75 #2A43A6 #405BCE

Accessibility & contrast

On white

12.22
#1E2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F75
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F75#FFFFFF#000000##FFFFFF
##1E2F751.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2f75;
/* rgb */ color: rgb(30, 47, 117);
/* oklch */ color: oklch(33.7% 0.122 268.6);
Tailwind
colors: {
  custom: {
    50: '#67679d',
    500: '#1e2f75',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f75;
$custom-light: #67679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f75",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 228.276,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33731,
    "c": 0.12187,
    "h": 268.6
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#1E2F75
secondary
#A99646
accent
#C445E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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