#1E266B#1E266B

#1E266B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.119 H 272.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1E266B
RGBrgb(30, 38, 107)
HSLhsl(234, 56%, 27%)
HSVhsv(234, 72%, 42%)
CMYKcmyk(72%, 64.5%, 0%, 58%)
CIE-LABlab(18.90, 21.75, -41.32)
CIE-LCHlch(18.90, 46.69, 297.76°)
OKLaboklab(30.95% 0.0048 -0.1192)
OKLCHoklch(30.95% 0.119 272.3)
XYZxyz(3.8815, 2.7234, 14.2282)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E266B #6B631E
analogous
#1E4D6B #1E266B #3D1E6B
triadic
#1E266B #6B1E26 #266B1E
tetradic
#1E266B #6B1E4D #6B631E #1E6B3D
square
#1E266B #6B1E4D #6B631E #1E6B3D
split-complementary
#1E266B #6B3D1E #4D6B1E
monochromatic
#070818 #11153B #1E266B #2B379B #3B4AC8

Accessibility & contrast

On white

13.59
#1E266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E266B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E266B#FFFFFF#000000##FFFFFF
##1E266B1.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e266b;
/* rgb */ color: rgb(30, 38, 107);
/* oklch */ color: oklch(30.9% 0.119 272.3);
Tailwind
colors: {
  custom: {
    50: '#656096',
    500: '#1e266b',
    950: '#000000',
  },
}
SCSS
$custom: #1e266b;
$custom-light: #656096;
$custom-dark: #000000;
JSON
{
  "hex": "#1e266b",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 233.766,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30949,
    "c": 0.11926,
    "h": 272.3
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#1E266B
secondary
#9F9645
accent
#D048DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E266B

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

Preview Lab → · Contrast checker → · Palette generator →

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