#1E2D63#1E2D63

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

Color values

HEX#1E2D63
RGBrgb(30, 45, 99)
HSLhsl(227, 53%, 25%)
HSVhsv(227, 70%, 39%)
CMYKcmyk(69.7%, 54.5%, 0%, 61.2%)
CIE-LABlab(20.26, 13.56, -33.90)
CIE-LCHlch(20.26, 36.51, 291.81°)
OKLaboklab(31.76% -0.0023 -0.0972)
OKLCHoklch(31.76% 0.097 268.7)
XYZxyz(3.7252, 3.0533, 12.1950)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D63 #63541E
analogous
#1E4F63 #1E2D63 #321E63
triadic
#1E2D63 #631E2D #2D631E
tetradic
#1E2D63 #631E4F #63541E #1E6332
square
#1E2D63 #631E4F #63541E #1E6332
split-complementary
#1E2D63 #63321E #4F631E
monochromatic
#070B17 #101834 #1E2D63 #2C4292 #3A58C1

Accessibility & contrast

On white

13.04
#1E2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D63
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D63#FFFFFF#000000##FFFFFF
##1E2D631.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3465
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2d63;
/* rgb */ color: rgb(30, 45, 99);
/* oklch */ color: oklch(31.8% 0.097 268.7);
Tailwind
colors: {
  custom: {
    50: '#636590',
    500: '#1e2d63',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d63;
$custom-light: #636590;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d63",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 226.957,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31755,
    "c": 0.09727,
    "h": 268.7
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#1E2D63
secondary
#988645
accent
#BD4BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #1E2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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