#1E2E6A#1E2E6A

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

Color values

HEX#1E2E6A
RGBrgb(30, 46, 106)
HSLhsl(227, 56%, 27%)
HSVhsv(227, 72%, 42%)
CMYKcmyk(71.7%, 56.6%, 0%, 58.4%)
CIE-LABlab(21.10, 15.65, -37.10)
CIE-LCHlch(21.10, 40.27, 292.87°)
OKLaboklab(32.56% -0.0026 -0.1067)
OKLCHoklch(32.56% 0.107 268.6)
XYZxyz(4.1130, 3.2702, 14.0473)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E6A #6A5A1E
analogous
#1E546A #1E2E6A #341E6A
triadic
#1E2E6A #6A1E2E #2E6A1E
tetradic
#1E2E6A #6A1E54 #6A5A1E #1E6A34
square
#1E2E6A #6A1E54 #6A5A1E #1E6A34
split-complementary
#1E2E6A #6A341E #546A1E
monochromatic
#070A18 #11193A #1E2E6A #2C439A #3B59C7

Accessibility & contrast

On white

12.69
#1E2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E6A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E6A#FFFFFF#000000##FFFFFF
##1E2E6A1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2e6a;
/* rgb */ color: rgb(30, 46, 106);
/* oklch */ color: oklch(32.6% 0.107 268.6);
Tailwind
colors: {
  custom: {
    50: '#646695',
    500: '#1e2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e6a;
$custom-light: #646695;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e6a",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 227.368,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.10669,
    "h": 268.6
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#1E2E6A
secondary
#9E8C45
accent
#BF49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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