#18134F#18134F

#18134F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.105 H 278.7°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#18134F
RGBrgb(24, 19, 79)
HSLhsl(245, 61%, 19%)
HSVhsv(245, 76%, 31%)
CMYKcmyk(69.6%, 75.9%, 0%, 69%)
CIE-LABlab(10.74, 23.27, -35.98)
CIE-LCHlch(10.74, 42.85, 302.89°)
OKLaboklab(24.04% 0.0159 -0.1038)
OKLCHoklch(24.04% 0.105 278.7)
XYZxyz(2.0204, 1.2243, 7.5255)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18134F #4A4F13
analogous
#132C4F #18134F #36134F
triadic
#18134F #4F1813 #134F18
tetradic
#18134F #4F132C #4A4F13 #134F36
square
#18134F #4F132C #4A4F13 #134F36
split-complementary
#18134F #4F3613 #2C4F13
monochromatic
#070619 #09071E #18134F #271F80 #362BB2

Accessibility & contrast

On white

16.87
#18134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18134F
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18134F#FFFFFF#000000##FFFFFF
##18134F1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #18134f;
/* rgb */ color: rgb(24, 19, 79);
/* oklch */ color: oklch(24.0% 0.105 278.7);
Tailwind
colors: {
  custom: {
    50: '#5d5181',
    500: '#18134f',
    950: '#000000',
  },
}
SCSS
$custom: #18134f;
$custom-light: #5d5181;
$custom-dark: #000000;
JSON
{
  "hex": "#18134f",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 245,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24038,
    "c": 0.105,
    "h": 278.7
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#18134F
secondary
#818836
accent
#E443D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #18134F

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

Preview Lab → · Contrast checker → · Palette generator →

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