#1E268E#1E268E

#1E268E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.168 H 270.5°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1E268E
RGBrgb(30, 38, 142)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 79%, 56%)
CMYKcmyk(78.9%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.35, 34.97, -57.89)
CIE-LCHlch(22.35, 67.63, 301.13°)
OKLaboklab(34.51% 0.0015 -0.1676)
OKLCHoklch(34.51% 0.168 270.5)
XYZxyz(6.1094, 3.6146, 25.9616)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E268E #8E861E
analogous
#1E5E8E #1E268E #4E1E8E
triadic
#1E268E #8E1E26 #268E1E
tetradic
#1E268E #8E1E5E #8E861E #1E8E4E
square
#1E268E #8E1E5E #8E861E #1E8E4E
split-complementary
#1E268E #8E4E1E #5E8E1E
monochromatic
#090B29 #13185B #1E268E #2934C1 #4D57D9

Accessibility & contrast

On white

12.19
#1E268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E268E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E268E#FFFFFF#000000##FFFFFF
##1E268E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e268e;
/* rgb */ color: rgb(30, 38, 142);
/* oklch */ color: oklch(34.5% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e61b0',
    500: '#1e268e',
    950: '#000000',
  },
}
SCSS
$custom: #1e268e;
$custom-light: #6e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e268e",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 235.714,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34513,
    "c": 0.16763,
    "h": 270.5
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#1E268E
secondary
#BCB44C
accent
#DC40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E268E

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

Preview Lab → · Contrast checker → · Palette generator →

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