#1E266A#1E266A

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

Color values

HEX#1E266A
RGBrgb(30, 38, 106)
HSLhsl(234, 56%, 27%)
HSVhsv(234, 72%, 42%)
CMYKcmyk(71.7%, 64.2%, 0%, 58.4%)
CIE-LABlab(18.81, 21.36, -40.81)
CIE-LCHlch(18.81, 46.06, 297.63°)
OKLaboklab(30.86% 0.0048 -0.1177)
OKLCHoklch(30.86% 0.118 272.3)
XYZxyz(3.8292, 2.7025, 13.9527)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E266A #6A621E
analogous
#1E4C6A #1E266A #3C1E6A
triadic
#1E266A #6A1E26 #266A1E
tetradic
#1E266A #6A1E4C #6A621E #1E6A3C
square
#1E266A #6A1E4C #6A621E #1E6A3C
split-complementary
#1E266A #6A3C1E #4C6A1E
monochromatic
#070918 #11153A #1E266A #2C379A #3B4AC7

Accessibility & contrast

On white

13.63
#1E266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E266A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E266A#FFFFFF#000000##FFFFFF
##1E266A1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e266a;
/* rgb */ color: rgb(30, 38, 106);
/* oklch */ color: oklch(30.9% 0.118 272.3);
Tailwind
colors: {
  custom: {
    50: '#656095',
    500: '#1e266a',
    950: '#000000',
  },
}
SCSS
$custom: #1e266a;
$custom-light: #656095;
$custom-dark: #000000;
JSON
{
  "hex": "#1e266a",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 233.684,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30855,
    "c": 0.11778,
    "h": 272.3
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#1E266A
secondary
#9E9545
accent
#CF49DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E266A

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

Preview Lab → · Contrast checker → · Palette generator →

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