#1E2F5E#1E2F5E

#1E2F5E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.087 H 266.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1E2F5E
RGBrgb(30, 47, 94)
HSLhsl(224, 52%, 24%)
HSVhsv(224, 68%, 37%)
CMYKcmyk(68.1%, 50%, 0%, 63.1%)
CIE-LABlab(20.51, 10.12, -30.21)
CIE-LCHlch(20.51, 31.86, 288.52°)
OKLaboklab(31.83% -0.0052 -0.0864)
OKLCHoklch(31.83% 0.087 266.6)
XYZxyz(3.5716, 3.1169, 11.0009)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F5E #5E4D1E
analogous
#1E4F5E #1E2F5E #2D1E5E
triadic
#1E2F5E #5E1E2F #2F5E1E
tetradic
#1E2F5E #5E1E4F #5E4D1E #1E5E2D
square
#1E2F5E #5E1E4F #5E4D1E #1E5E2D
split-complementary
#1E2F5E #5E2D1E #4F5E1E
monochromatic
#070C17 #0F1830 #1E2F5E #2D468C #3C5DBB

Accessibility & contrast

On white

12.94
#1E2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F5E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F5E#FFFFFF#000000##FFFFFF
##1E2F5E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183460
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2f5e;
/* rgb */ color: rgb(30, 47, 94);
/* oklch */ color: oklch(31.8% 0.087 266.6);
Tailwind
colors: {
  custom: {
    50: '#61678c',
    500: '#1e2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f5e;
$custom-light: #61678c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f5e",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 224.063,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.08653,
    "h": 266.6
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#1E2F5E
secondary
#937E45
accent
#B54DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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