#18134B#18134B

#18134B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.099 H 279.6°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#18134B
RGBrgb(24, 19, 75)
HSLhsl(245, 60%, 18%)
HSVhsv(245, 75%, 29%)
CMYKcmyk(68%, 74.7%, 0%, 70.6%)
CIE-LABlab(10.32, 21.76, -33.90)
CIE-LCHlch(10.32, 40.29, 302.70°)
OKLaboklab(23.61% 0.0166 -0.0977)
OKLCHoklch(23.61% 0.099 279.6)
XYZxyz(1.8792, 1.1678, 6.7816)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18134B #464B13
analogous
#132A4B #18134B #34134B
triadic
#18134B #4B1813 #134B18
tetradic
#18134B #4B132A #464B13 #134B34
square
#18134B #4B132A #464B13 #134B34
split-complementary
#18134B #4B3413 #2A4B13
monochromatic
#080618 #08071A #18134B #281F7C #372CAD

Accessibility & contrast

On white

17.02
#18134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18134B
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18134B#FFFFFF#000000##FFFFFF
##18134B1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #18134b;
/* rgb */ color: rgb(24, 19, 75);
/* oklch */ color: oklch(23.6% 0.099 279.6);
Tailwind
colors: {
  custom: {
    50: '#5c517e',
    500: '#18134b',
    950: '#000000',
  },
}
SCSS
$custom: #18134b;
$custom-light: #5c517e;
$custom-dark: #000000;
JSON
{
  "hex": "#18134b",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 245.357,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23609,
    "c": 0.0991,
    "h": 279.6
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#18134B
secondary
#7D8436
accent
#E345D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #18134B

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

Preview Lab → · Contrast checker → · Palette generator →

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