#1E1275#1E1275

#1E1275 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.155 H 275.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#1E1275
RGBrgb(30, 18, 117)
HSLhsl(247, 73%, 26%)
HSVhsv(247, 85%, 46%)
CMYKcmyk(74.4%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.45, 37.81, -53.48)
CIE-LCHlch(15.45, 65.49, 305.26°)
OKLaboklab(28.79% 0.0158 -0.1546)
OKLCHoklch(28.79% 0.155 275.8)
XYZxyz(3.9616, 1.9926, 17.0020)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1275 #697512
analogous
#123875 #1E1275 #501275
triadic
#1E1275 #751E12 #12751E
tetradic
#1E1275 #751238 #697512 #127550
square
#1E1275 #751238 #697512 #127550
split-complementary
#1E1275 #755012 #387512
monochromatic
#07041B #100A40 #1E1275 #2C1AAA #3B24DD

Accessibility & contrast

On white

15.02
#1E1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1275
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1275#FFFFFF#000000##FFFFFF
##1E12751.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1275;
/* rgb */ color: rgb(30, 18, 117);
/* oklch */ color: oklch(28.8% 0.155 275.8);
Tailwind
colors: {
  custom: {
    50: '#6a539e',
    500: '#1e1275',
    950: '#000000',
  },
}
SCSS
$custom: #1e1275;
$custom-light: #6a539e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1275",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 247.273,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.15539,
    "h": 275.8
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#1E1275
secondary
#9EAC37
accent
#F038DA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1275

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

Preview Lab → · Contrast checker → · Palette generator →

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