#1E2B5F#1E2B5F

#1E2B5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.094 H 269.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#1E2B5F
RGBrgb(30, 43, 95)
HSLhsl(228, 52%, 25%)
HSVhsv(228, 68%, 37%)
CMYKcmyk(68.4%, 54.7%, 0%, 62.7%)
CIE-LABlab(19.35, 13.41, -32.73)
CIE-LCHlch(19.35, 35.37, 292.28°)
OKLaboklab(30.97% -0.0006 -0.0938)
OKLCHoklch(30.97% 0.094 269.6)
XYZxyz(3.4642, 2.8297, 11.1879)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B5F #5F521E
analogous
#1E4C5F #1E2B5F #321E5F
triadic
#1E2B5F #5F1E2B #2B5F1E
tetradic
#1E2B5F #5F1E4C #5F521E #1E5F32
square
#1E2B5F #5F1E4C #5F521E #1E5F32
split-complementary
#1E2B5F #5F321E #4C5F1E
monochromatic
#070B17 #0F1630 #1E2B5F #2D408E #3B55BC

Accessibility & contrast

On white

13.41
#1E2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B5F
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B5F#FFFFFF#000000##FFFFFF
##1E2B5F1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3261
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2b5f;
/* rgb */ color: rgb(30, 43, 95);
/* oklch */ color: oklch(31.0% 0.094 269.6);
Tailwind
colors: {
  custom: {
    50: '#62648d',
    500: '#1e2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b5f;
$custom-light: #62648d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b5f",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 228,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30971,
    "c": 0.09384,
    "h": 269.6
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#1E2B5F
secondary
#948445
accent
#BF4CDB
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1E2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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