#1E1968#1E1968

#1E1968 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.131 H 276.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#1E1968
RGBrgb(30, 25, 104)
HSLhsl(244, 61%, 25%)
HSVhsv(244, 76%, 41%)
CMYKcmyk(71.2%, 76%, 0%, 59.2%)
CIE-LABlab(15.33, 29.39, -45.20)
CIE-LCHlch(15.33, 53.92, 303.03°)
OKLaboklab(28.27% 0.0153 -0.1306)
OKLCHoklch(28.27% 0.131 276.7)
XYZxyz(3.3809, 1.9705, 13.2962)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1968 #636819
analogous
#193C68 #1E1968 #451968
triadic
#1E1968 #681E19 #19681E
tetradic
#1E1968 #68193C #636819 #196845
square
#1E1968 #68193C #636819 #196845
split-complementary
#1E1968 #684519 #3C6819
monochromatic
#070619 #100D37 #1E1968 #2C2599 #3A31CB

Accessibility & contrast

On white

15.06
#1E1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1968
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1968#FFFFFF#000000##FFFFFF
##1E19681.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1968;
/* rgb */ color: rgb(30, 25, 104);
/* oklch */ color: oklch(28.3% 0.131 276.7);
Tailwind
colors: {
  custom: {
    50: '#665794',
    500: '#1e1968',
    950: '#000000',
  },
}
SCSS
$custom: #1e1968;
$custom-light: #665794;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1968",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 243.797,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28267,
    "c": 0.13148,
    "h": 276.7
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#1E1968
secondary
#989E3F
accent
#E443DA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1968

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

Preview Lab → · Contrast checker → · Palette generator →

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