#1E268B#1E268B

#1E268B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.164 H 270.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1E268B
RGBrgb(30, 38, 139)
HSLhsl(236, 64%, 33%)
HSVhsv(236, 78%, 55%)
CMYKcmyk(78.4%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.04, 33.88, -56.55)
CIE-LCHlch(22.04, 65.92, 300.93°)
OKLaboklab(34.19% 0.0019 -0.1637)
OKLCHoklch(34.19% 0.164 270.7)
XYZxyz(5.8871, 3.5257, 24.7913)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E268B #8B831E
analogous
#1E5C8B #1E268B #4C1E8B
triadic
#1E268B #8B1E26 #268B1E
tetradic
#1E268B #8B1E5C #8B831E #1E8B4C
square
#1E268B #8B1E5C #8B831E #1E8B4C
split-complementary
#1E268B #8B4C1E #5C8B1E
monochromatic
#080A26 #131859 #1E268B #2934BD #4B56D8

Accessibility & contrast

On white

12.32
#1E268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E268B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E268B#FFFFFF#000000##FFFFFF
##1E268B1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e268b;
/* rgb */ color: rgb(30, 38, 139);
/* oklch */ color: oklch(34.2% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#6d61ae',
    500: '#1e268b',
    950: '#000000',
  },
}
SCSS
$custom: #1e268b;
$custom-light: #6d61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e268b",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 235.596,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.16371,
    "h": 270.7
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#1E268B
secondary
#BBB24A
accent
#DB40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E268B

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

Preview Lab → · Contrast checker → · Palette generator →

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