#1E268C#1E268C

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

Color values

HEX#1E268C
RGBrgb(30, 38, 140)
HSLhsl(236, 65%, 33%)
HSVhsv(236, 79%, 55%)
CMYKcmyk(78.6%, 72.9%, 0%, 45.1%)
CIE-LABlab(22.14, 34.24, -57.00)
CIE-LCHlch(22.14, 66.49, 301.00°)
OKLaboklab(34.3% 0.0018 -0.165)
OKLCHoklch(34.3% 0.165 270.6)
XYZxyz(5.9605, 3.5550, 25.1779)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E268C #8C841E
analogous
#1E5D8C #1E268C #4D1E8C
triadic
#1E268C #8C1E26 #268C1E
tetradic
#1E268C #8C1E5D #8C841E #1E8C4D
square
#1E268C #8C1E5D #8C841E #1E8C4D
split-complementary
#1E268C #8C4D1E #5D8C1E
monochromatic
#080B27 #13185A #1E268C #2934BE #4C56D9

Accessibility & contrast

On white

12.27
#1E268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E268C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E268C#FFFFFF#000000##FFFFFF
##1E268C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e268c;
/* rgb */ color: rgb(30, 38, 140);
/* oklch */ color: oklch(34.3% 0.165 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e61af',
    500: '#1e268c',
    950: '#000000',
  },
}
SCSS
$custom: #1e268c;
$custom-light: #6e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e268c",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 235.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34298,
    "c": 0.16503,
    "h": 270.6
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#1E268C
secondary
#BBB34B
accent
#DC40E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E268C

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

Preview Lab → · Contrast checker → · Palette generator →

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