#1E268D#1E268D

#1E268D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.166 H 270.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1E268D
RGBrgb(30, 38, 141)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 79%, 55%)
CMYKcmyk(78.7%, 73%, 0%, 44.7%)
CIE-LABlab(22.25, 34.61, -57.44)
CIE-LCHlch(22.25, 67.06, 301.07°)
OKLaboklab(34.41% 0.0017 -0.1663)
OKLCHoklch(34.41% 0.166 270.6)
XYZxyz(6.0346, 3.5847, 25.5680)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E268D #8D851E
analogous
#1E5D8D #1E268D #4D1E8D
triadic
#1E268D #8D1E26 #268D1E
tetradic
#1E268D #8D1E5D #8D851E #1E8D4D
square
#1E268D #8D1E5D #8D851E #1E8D4D
split-complementary
#1E268D #8D4D1E #5D8D1E
monochromatic
#090B28 #13185B #1E268D #2934BF #4C57D9

Accessibility & contrast

On white

12.23
#1E268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E268D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E268D#FFFFFF#000000##FFFFFF
##1E268D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e268d;
/* rgb */ color: rgb(30, 38, 141);
/* oklch */ color: oklch(34.4% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e61af',
    500: '#1e268d',
    950: '#000000',
  },
}
SCSS
$custom: #1e268d;
$custom-light: #6e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e268d",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 235.676,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.16633,
    "h": 270.6
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#1E268D
secondary
#BCB34B
accent
#DC40E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E268D

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

Preview Lab → · Contrast checker → · Palette generator →

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