#1E2E5C#1E2E5C

#1E2E5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.085 H 267.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1E2E5C
RGBrgb(30, 46, 92)
HSLhsl(225, 51%, 24%)
HSVhsv(225, 67%, 36%)
CMYKcmyk(67.4%, 50%, 0%, 63.9%)
CIE-LABlab(20.05, 10.04, -29.62)
CIE-LCHlch(20.05, 31.27, 288.73°)
OKLaboklab(31.44% -0.0044 -0.0846)
OKLCHoklch(31.44% 0.085 267)
XYZxyz(3.4435, 3.0024, 10.5212)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E5C #5C4C1E
analogous
#1E4D5C #1E2E5C #2D1E5C
triadic
#1E2E5C #5C1E2E #2E5C1E
tetradic
#1E2E5C #5C1E4D #5C4C1E #1E5C2D
square
#1E2E5C #5C1E4D #5C4C1E #1E5C2D
split-complementary
#1E2E5C #5C2D1E #4D5C1E
monochromatic
#080C17 #0F172E #1E2E5C #2D458A #3C5CB8

Accessibility & contrast

On white

13.12
#1E2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E5C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E5C#FFFFFF#000000##FFFFFF
##1E2E5C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335E
Deuteranopia (green-blind)
#0D2E5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2e5c;
/* rgb */ color: rgb(30, 46, 92);
/* oklch */ color: oklch(31.4% 0.085 267.0);
Tailwind
colors: {
  custom: {
    50: '#61668a',
    500: '#1e2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e5c;
$custom-light: #61668a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e5c",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 224.516,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31438,
    "c": 0.08475,
    "h": 267
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#1E2E5C
secondary
#917D45
accent
#B64DDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1E2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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