#1E2D7C#1E2D7C

#1E2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.135 H 269.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1E2D7C
RGBrgb(30, 45, 124)
HSLhsl(230, 61%, 30%)
HSVhsv(230, 76%, 49%)
CMYKcmyk(75.8%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.33, 23.51, -46.63)
CIE-LCHlch(22.33, 52.22, 296.75°)
OKLaboklab(33.96% -0.0013 -0.1347)
OKLCHoklch(33.96% 0.135 269.5)
XYZxyz(5.1106, 3.6075, 19.4918)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D7C #7C6D1E
analogous
#1E5C7C #1E2D7C #3E1E7C
triadic
#1E2D7C #7C1E2D #2D7C1E
tetradic
#1E2D7C #7C1E5C #7C6D1E #1E7C3E
square
#1E2D7C #7C1E5C #7C6D1E #1E7C3E
split-complementary
#1E2D7C #7C3E1E #5C7C1E
monochromatic
#060919 #121B4B #1E2D7C #2A3FAD #435AD1

Accessibility & contrast

On white

12.20
#1E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D7C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D7C#FFFFFF#000000##FFFFFF
##1E2D7C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2d7c;
/* rgb */ color: rgb(30, 45, 124);
/* oklch */ color: oklch(34.0% 0.135 269.5);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1e2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d7c;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d7c",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 230.426,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.1347,
    "h": 269.5
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#1E2D7C
secondary
#AF9F46
accent
#CB44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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