#1E2CA6#1E2CA6

#1E2CA6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.192 H 268.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1E2CA6
RGBrgb(30, 44, 166)
HSLhsl(234, 69%, 38%)
HSVhsv(234, 82%, 65%)
CMYKcmyk(81.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(26.24, 39.89, -66.18)
CIE-LCHlch(26.24, 77.27, 301.08°)
OKLaboklab(38.06% -0.0042 -0.1918)
OKLCHoklch(38.06% 0.192 268.8)
XYZxyz(8.3167, 4.8296, 36.5629)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2CA6 #A6981E
analogous
#1E70A6 #1E2CA6 #541EA6
triadic
#1E2CA6 #A61E2C #2CA61E
tetradic
#1E2CA6 #A61E70 #A6981E #1EA654
square
#1E2CA6 #A61E70 #A6981E #1EA654
split-complementary
#1E2CA6 #A6541E #70A61E
monochromatic
#0B113E #151E72 #1E2CA6 #293BD8 #5D6AE2

Accessibility & contrast

On white

10.68
#1E2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1E2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2CA6
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2CA6#FFFFFF#000000##FFFFFF
##1E2CA61.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e2ca6;
/* rgb */ color: rgb(30, 44, 166);
/* oklch */ color: oklch(38.1% 0.192 268.8);
Tailwind
colors: {
  custom: {
    50: '#7466c2',
    500: '#1e2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #1e2ca6;
$custom-light: #7466c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2ca6",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 233.824,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38064,
    "c": 0.19181,
    "h": 268.8
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#1E2CA6
secondary
#C6BB5A
accent
#DA3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1E2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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