#18134E#18134E

#18134E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.104 H 278.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#18134E
RGBrgb(24, 19, 78)
HSLhsl(245, 61%, 19%)
HSVhsv(245, 76%, 31%)
CMYKcmyk(69.2%, 75.6%, 0%, 69.4%)
CIE-LABlab(10.63, 22.89, -35.47)
CIE-LCHlch(10.63, 42.21, 302.84°)
OKLaboklab(23.93% 0.0161 -0.1023)
OKLCHoklch(23.93% 0.104 278.9)
XYZxyz(1.9843, 1.2098, 7.3352)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18134E #494E13
analogous
#132C4E #18134E #36134E
triadic
#18134E #4E1813 #134E18
tetradic
#18134E #4E132C #494E13 #134E36
square
#18134E #4E132C #494E13 #134E36
split-complementary
#18134E #4E3613 #2C4E13
monochromatic
#080619 #09071D #18134E #271F7F #362BB0

Accessibility & contrast

On white

16.91
#18134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#18134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18134E
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18134E#FFFFFF#000000##FFFFFF
##18134E1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #18134e;
/* rgb */ color: rgb(24, 19, 78);
/* oklch */ color: oklch(23.9% 0.104 278.9);
Tailwind
colors: {
  custom: {
    50: '#5d5180',
    500: '#18134e',
    950: '#000000',
  },
}
SCSS
$custom: #18134e;
$custom-light: #5d5180;
$custom-dark: #000000;
JSON
{
  "hex": "#18134e",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 245.085,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2393,
    "c": 0.10354,
    "h": 278.9
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#18134E
secondary
#808736
accent
#E444D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #18134E

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

Preview Lab → · Contrast checker → · Palette generator →

#18134E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva