#1E2E6B#1E2E6B

#1E2E6B is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.108 H 268.6°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1E2E6B
RGBrgb(30, 46, 107)
HSLhsl(228, 56%, 27%)
HSVhsv(228, 72%, 42%)
CMYKcmyk(72%, 57%, 0%, 58%)
CIE-LABlab(21.17, 16.05, -37.62)
CIE-LCHlch(21.17, 40.90, 293.10°)
OKLaboklab(32.65% -0.0026 -0.1082)
OKLCHoklch(32.65% 0.108 268.6)
XYZxyz(4.1653, 3.2911, 14.3228)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E6B #6B5B1E
analogous
#1E556B #1E2E6B #351E6B
triadic
#1E2E6B #6B1E2E #2E6B1E
tetradic
#1E2E6B #6B1E55 #6B5B1E #1E6B35
square
#1E2E6B #6B1E55 #6B5B1E #1E6B35
split-complementary
#1E2E6B #6B351E #556B1E
monochromatic
#070A18 #11193B #1E2E6B #2B439B #3B59C8

Accessibility & contrast

On white

12.66
#1E2E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E6B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E6B#FFFFFF#000000##FFFFFF
##1E2E6B1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02376D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2e6b;
/* rgb */ color: rgb(30, 46, 107);
/* oklch */ color: oklch(32.6% 0.108 268.6);
Tailwind
colors: {
  custom: {
    50: '#646696',
    500: '#1e2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e6b;
$custom-light: #646696;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e6b",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 227.532,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32646,
    "c": 0.10822,
    "h": 268.6
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#1E2E6B
secondary
#9F8D45
accent
#C048DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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