#1E2D75#1E2D75

#1E2D75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.125 H 269.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E2D75
RGBrgb(30, 45, 117)
HSLhsl(230, 59%, 29%)
HSVhsv(230, 74%, 46%)
CMYKcmyk(74.4%, 61.5%, 0%, 54.1%)
CIE-LABlab(21.71, 20.75, -43.18)
CIE-LCHlch(21.71, 47.91, 295.66°)
OKLaboklab(33.31% -0.0012 -0.1245)
OKLCHoklch(33.31% 0.125 269.4)
XYZxyz(4.6836, 3.4367, 17.2427)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D75 #75661E
analogous
#1E5975 #1E2D75 #3B1E75
triadic
#1E2D75 #751E2D #2D751E
tetradic
#1E2D75 #751E59 #75661E #1E753B
square
#1E2D75 #751E59 #75661E #1E753B
split-complementary
#1E2D75 #753B1E #59751E
monochromatic
#060918 #121A44 #1E2D75 #2A40A6 #4058CE

Accessibility & contrast

On white

12.45
#1E2D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D75
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D75#FFFFFF#000000##FFFFFF
##1E2D751.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2d75;
/* rgb */ color: rgb(30, 45, 117);
/* oklch */ color: oklch(33.3% 0.125 269.4);
Tailwind
colors: {
  custom: {
    50: '#67659d',
    500: '#1e2d75',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d75;
$custom-light: #67659d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d75",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 229.655,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33311,
    "c": 0.12456,
    "h": 269.4
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#1E2D75
secondary
#A99846
accent
#C745E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2D75

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

Preview Lab → · Contrast checker → · Palette generator →

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