#1E266C#1E266C

#1E266C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.121 H 272.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1E266C
RGBrgb(30, 38, 108)
HSLhsl(234, 57%, 27%)
HSVhsv(234, 72%, 42%)
CMYKcmyk(72.2%, 64.8%, 0%, 57.6%)
CIE-LABlab(18.99, 22.14, -41.82)
CIE-LCHlch(18.99, 47.32, 297.90°)
OKLaboklab(31.04% 0.0047 -0.1206)
OKLCHoklch(31.04% 0.121 272.2)
XYZxyz(3.9344, 2.7446, 14.5069)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E266C #6C641E
analogous
#1E4D6C #1E266C #3D1E6C
triadic
#1E266C #6C1E26 #266C1E
tetradic
#1E266C #6C1E4D #6C641E #1E6C3D
square
#1E266C #6C1E4D #6C641E #1E6C3D
split-complementary
#1E266C #6C3D1E #4D6C1E
monochromatic
#070818 #11153C #1E266C #2B379C #3C4AC9

Accessibility & contrast

On white

13.56
#1E266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E266C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E266C#FFFFFF#000000##FFFFFF
##1E266C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e266c;
/* rgb */ color: rgb(30, 38, 108);
/* oklch */ color: oklch(31.0% 0.121 272.2);
Tailwind
colors: {
  custom: {
    50: '#656097',
    500: '#1e266c',
    950: '#000000',
  },
}
SCSS
$custom: #1e266c;
$custom-light: #656097;
$custom-dark: #000000;
JSON
{
  "hex": "#1e266c",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 233.846,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31044,
    "c": 0.12073,
    "h": 272.2
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#1E266C
secondary
#A09745
accent
#D048E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E266C

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

Preview Lab → · Contrast checker → · Palette generator →

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