#1E268F#1E268F

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

Color values

HEX#1E268F
RGBrgb(30, 38, 143)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 79%, 56%)
CMYKcmyk(79%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.46, 35.33, -58.34)
CIE-LCHlch(22.46, 68.20, 301.20°)
OKLaboklab(34.62% 0.0014 -0.1689)
OKLCHoklch(34.62% 0.169 270.5)
XYZxyz(6.1848, 3.6447, 26.3588)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E268F #8F871E
analogous
#1E5F8F #1E268F #4F1E8F
triadic
#1E268F #8F1E26 #268F1E
tetradic
#1E268F #8F1E5F #8F871E #1E8F4F
square
#1E268F #8F1E5F #8F871E #1E8F4F
split-complementary
#1E268F #8F4F1E #5F8F1E
monochromatic
#090B2A #13195C #1E268F #2933C2 #4E58DA

Accessibility & contrast

On white

12.15
#1E268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E268F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E268F#FFFFFF#000000##FFFFFF
##1E268F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e268f;
/* rgb */ color: rgb(30, 38, 143);
/* oklch */ color: oklch(34.6% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f61b1',
    500: '#1e268f',
    950: '#000000',
  },
}
SCSS
$custom: #1e268f;
$custom-light: #6f61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e268f",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 235.752,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34621,
    "c": 0.16893,
    "h": 270.5
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#1E268F
secondary
#BCB54C
accent
#DC40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E268F

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

Preview Lab → · Contrast checker → · Palette generator →

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