#18134A#18134A

#18134A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.098 H 279.9°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#18134A
RGBrgb(24, 19, 74)
HSLhsl(245, 59%, 18%)
HSVhsv(245, 74%, 29%)
CMYKcmyk(67.6%, 74.3%, 0%, 71%)
CIE-LABlab(10.22, 21.39, -33.38)
CIE-LCHlch(10.22, 39.64, 302.65°)
OKLaboklab(23.5% 0.0167 -0.0962)
OKLCHoklch(23.5% 0.098 279.9)
XYZxyz(1.8452, 1.1542, 6.6028)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18134A #454A13
analogous
#13294A #18134A #33134A
triadic
#18134A #4A1813 #134A18
tetradic
#18134A #4A1329 #454A13 #134A33
square
#18134A #4A1329 #454A13 #134A33
split-complementary
#18134A #4A3313 #294A13
monochromatic
#080618 #080619 #18134A #28207B #382CAB

Accessibility & contrast

On white

17.06
#18134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#18134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18134A
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18134A#FFFFFF#000000##FFFFFF
##18134A1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #18134a;
/* rgb */ color: rgb(24, 19, 74);
/* oklch */ color: oklch(23.5% 0.098 279.9);
Tailwind
colors: {
  custom: {
    50: '#5c517d',
    500: '#18134a',
    950: '#000000',
  },
}
SCSS
$custom: #18134a;
$custom-light: #5c517d;
$custom-dark: #000000;
JSON
{
  "hex": "#18134a",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 245.455,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23504,
    "c": 0.0976,
    "h": 279.9
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#18134A
secondary
#7C8336
accent
#E245D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #18134A

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

Preview Lab → · Contrast checker → · Palette generator →

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