#1E18B3#1E18B3

#1E18B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.224 H 269.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1E18B3
RGBrgb(30, 24, 179)
HSLhsl(242, 76%, 40%)
HSVhsv(242, 87%, 70%)
CMYKcmyk(83.2%, 86.6%, 0%, 29.8%)
CIE-LABlab(24.27, 54.30, -77.28)
CIE-LCHlch(24.27, 94.45, 305.09°)
OKLaboklab(37.12% -0.002 -0.2236)
OKLCHoklch(37.12% 0.224 269.5)
XYZxyz(8.9960, 4.1829, 42.9723)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E18B3 #ADB318
analogous
#185FB3 #1E18B3 #6C18B3
triadic
#1E18B3 #B31E18 #18B31E
tetradic
#1E18B3 #B3185F #ADB318 #18B36C
square
#1E18B3 #B3185F #ADB318 #18B36C
split-complementary
#1E18B3 #B36C18 #5FB318
monochromatic
#0C0A47 #15117D #1E18B3 #2E26E2 #625CE9

Accessibility & contrast

On white

11.43
#1E18B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E18B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E18B3
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E18B3#FFFFFF#000000##FFFFFF
##1E18B31.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0031B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e18b3;
/* rgb */ color: rgb(30, 24, 179);
/* oklch */ color: oklch(37.1% 0.224 269.5);
Tailwind
colors: {
  custom: {
    50: '#795ccb',
    500: '#1e18b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e18b3;
$custom-light: #795ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e18b3",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 242.323,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37122,
    "c": 0.2236,
    "h": 269.5
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#1E18B3
secondary
#C8CD5A
accent
#F335EC
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1E18B3

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

Preview Lab → · Contrast checker → · Palette generator →

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