#1E2E6C#1E2E6C

#1E2E6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.110 H 268.7°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2E6C
RGBrgb(30, 46, 108)
HSLhsl(228, 57%, 27%)
HSVhsv(228, 72%, 42%)
CMYKcmyk(72.2%, 57.4%, 0%, 57.6%)
CIE-LABlab(21.25, 16.45, -38.14)
CIE-LCHlch(21.25, 41.54, 293.33°)
OKLaboklab(32.73% -0.0025 -0.1097)
OKLCHoklch(32.73% 0.11 268.7)
XYZxyz(4.2183, 3.3123, 14.6015)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E6C #6C5C1E
analogous
#1E556C #1E2E6C #351E6C
triadic
#1E2E6C #6C1E2E #2E6C1E
tetradic
#1E2E6C #6C1E55 #6C5C1E #1E6C35
square
#1E2E6C #6C1E55 #6C5C1E #1E6C35
split-complementary
#1E2E6C #6C351E #556C1E
monochromatic
#070A18 #111A3C #1E2E6C #2B429C #3C59C9

Accessibility & contrast

On white

12.63
#1E2E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E6C
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E6C#FFFFFF#000000##FFFFFF
##1E2E6C1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2e6c;
/* rgb */ color: rgb(30, 46, 108);
/* oklch */ color: oklch(32.7% 0.110 268.7);
Tailwind
colors: {
  custom: {
    50: '#656697',
    500: '#1e2e6c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e6c;
$custom-light: #656697;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e6c",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 227.692,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32731,
    "c": 0.10975,
    "h": 268.7
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#1E2E6C
secondary
#A08E45
accent
#C148E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1E2E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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