#1E266E#1E266E

#1E266E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.124 H 272.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1E266E
RGBrgb(30, 38, 110)
HSLhsl(234, 57%, 27%)
HSVhsv(234, 73%, 43%)
CMYKcmyk(72.7%, 65.5%, 0%, 56.9%)
CIE-LABlab(19.17, 22.92, -42.82)
CIE-LCHlch(19.17, 48.57, 298.16°)
OKLaboklab(31.24% 0.0046 -0.1236)
OKLCHoklch(31.24% 0.124 272.2)
XYZxyz(4.0421, 2.7876, 15.0739)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E266E #6E661E
analogous
#1E4E6E #1E266E #3E1E6E
triadic
#1E266E #6E1E26 #266E1E
tetradic
#1E266E #6E1E4E #6E661E #1E6E3E
square
#1E266E #6E1E4E #6E661E #1E6E3E
split-complementary
#1E266E #6E3E1E #4E6E1E
monochromatic
#070818 #11153E #1E266E #2B379E #3C4BCA

Accessibility & contrast

On white

13.48
#1E266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E266E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E266E#FFFFFF#000000##FFFFFF
##1E266E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e266e;
/* rgb */ color: rgb(30, 38, 110);
/* oklch */ color: oklch(31.2% 0.124 272.2);
Tailwind
colors: {
  custom: {
    50: '#666098',
    500: '#1e266e',
    950: '#000000',
  },
}
SCSS
$custom: #1e266e;
$custom-light: #666098;
$custom-dark: #000000;
JSON
{
  "hex": "#1e266e",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 234,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31235,
    "c": 0.12366,
    "h": 272.2
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#1E266E
secondary
#A29946
accent
#D147E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1E266E

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

Preview Lab → · Contrast checker → · Palette generator →

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