#1E2D7B#1E2D7B

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

Color values

HEX#1E2D7B
RGBrgb(30, 45, 123)
HSLhsl(230, 61%, 30%)
HSVhsv(230, 76%, 48%)
CMYKcmyk(75.6%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.24, 23.12, -46.15)
CIE-LCHlch(22.24, 51.61, 296.61°)
OKLaboklab(33.87% -0.0013 -0.1332)
OKLCHoklch(33.87% 0.133 269.5)
XYZxyz(5.0477, 3.5823, 19.1605)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D7B #7B6C1E
analogous
#1E5B7B #1E2D7B #3E1E7B
triadic
#1E2D7B #7B1E2D #2D7B1E
tetradic
#1E2D7B #7B1E5B #7B6C1E #1E7B3E
square
#1E2D7B #7B1E5B #7B6C1E #1E7B3E
split-complementary
#1E2D7B #7B3E1E #5B7B1E
monochromatic
#060919 #121B4A #1E2D7B #2A3FAC #4259D1

Accessibility & contrast

On white

12.23
#1E2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D7B
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D7B#FFFFFF#000000##FFFFFF
##1E2D7B1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2d7b;
/* rgb */ color: rgb(30, 45, 123);
/* oklch */ color: oklch(33.9% 0.133 269.5);
Tailwind
colors: {
  custom: {
    50: '#6965a2',
    500: '#1e2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d7b;
$custom-light: #6965a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d7b",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 230.323,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.13326,
    "h": 269.5
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#1E2D7B
secondary
#AE9E46
accent
#CA44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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