#1E1265#1E1265

#1E1265 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.9% C 0.135 H 278.8°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#1E1265
RGBrgb(30, 18, 101)
HSLhsl(249, 70%, 23%)
HSVhsv(249, 82%, 40%)
CMYKcmyk(70.3%, 82.2%, 0%, 60.4%)
CIE-LABlab(13.52, 32.51, -46.21)
CIE-LCHlch(13.52, 56.50, 305.13°)
OKLaboklab(26.89% 0.0206 -0.1335)
OKLCHoklch(26.89% 0.135 278.8)
XYZxyz(3.0999, 1.6480, 12.4641)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1265 #596512
analogous
#122F65 #1E1265 #471265
triadic
#1E1265 #651E12 #12651E
tetradic
#1E1265 #65122F #596512 #126547
square
#1E1265 #65122F #596512 #126547
split-complementary
#1E1265 #654712 #2F6512
monochromatic
#08051A #0F0931 #1E1265 #2D1B99 #3D25CD

Accessibility & contrast

On white

15.79
#1E1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1265
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1265#FFFFFF#000000##FFFFFF
##1E12651.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1265;
/* rgb */ color: rgb(30, 18, 101);
/* oklch */ color: oklch(26.9% 0.135 278.8);
Tailwind
colors: {
  custom: {
    50: '#665292',
    500: '#1e1265',
    950: '#000000',
  },
}
SCSS
$custom: #1e1265;
$custom-light: #665292;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1265",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 248.675,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26886,
    "c": 0.13504,
    "h": 278.8
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#1E1265
secondary
#8E9D36
accent
#ED3BD3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1E1265

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

Preview Lab → · Contrast checker → · Palette generator →

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