#1E2E5F#1E2E5F

#1E2E5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.090 H 267.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2E5F
RGBrgb(30, 46, 95)
HSLhsl(225, 52%, 25%)
HSVhsv(225, 68%, 37%)
CMYKcmyk(68.4%, 51.6%, 0%, 62.7%)
CIE-LABlab(20.27, 11.24, -31.25)
CIE-LCHlch(20.27, 33.21, 289.78°)
OKLaboklab(31.67% -0.0039 -0.0894)
OKLCHoklch(31.67% 0.09 267.5)
XYZxyz(3.5773, 3.0559, 11.2256)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E5F #5F4F1E
analogous
#1E4F5F #1E2E5F #2F1E5F
triadic
#1E2E5F #5F1E2E #2E5F1E
tetradic
#1E2E5F #5F1E4F #5F4F1E #1E5F2F
square
#1E2E5F #5F1E4F #5F4F1E #1E5F2F
split-complementary
#1E2E5F #5F2F1E #4F5F1E
monochromatic
#070B17 #0F1730 #1E2E5F #2D458E #3B5BBC

Accessibility & contrast

On white

13.03
#1E2E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E5F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E5F#FFFFFF#000000##FFFFFF
##1E2E5F1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#072E5E
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2e5f;
/* rgb */ color: rgb(30, 46, 95);
/* oklch */ color: oklch(31.7% 0.090 267.5);
Tailwind
colors: {
  custom: {
    50: '#62668d',
    500: '#1e2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e5f;
$custom-light: #62668d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e5f",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 225.231,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31669,
    "c": 0.08953,
    "h": 267.5
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#1E2E5F
secondary
#948045
accent
#B84CDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1E2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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