#18134D#18134D

#18134D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.102 H 279.1°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#18134D
RGBrgb(24, 19, 77)
HSLhsl(245, 60%, 19%)
HSVhsv(245, 75%, 30%)
CMYKcmyk(68.8%, 75.3%, 0%, 69.8%)
CIE-LABlab(10.52, 22.52, -34.95)
CIE-LCHlch(10.52, 41.57, 302.79°)
OKLaboklab(23.82% 0.0162 -0.1008)
OKLCHoklch(23.82% 0.102 279.1)
XYZxyz(1.9487, 1.1956, 7.1478)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18134D #484D13
analogous
#132B4D #18134D #35134D
triadic
#18134D #4D1813 #134D18
tetradic
#18134D #4D132B #484D13 #134D35
square
#18134D #4D132B #484D13 #134D35
split-complementary
#18134D #4D3513 #2B4D13
monochromatic
#080619 #09071C #18134D #271F7E #372BAF

Accessibility & contrast

On white

16.95
#18134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18134D
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18134D#FFFFFF#000000##FFFFFF
##18134D1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #18134d;
/* rgb */ color: rgb(24, 19, 77);
/* oklch */ color: oklch(23.8% 0.102 279.1);
Tailwind
colors: {
  custom: {
    50: '#5d517f',
    500: '#18134d',
    950: '#000000',
  },
}
SCSS
$custom: #18134d;
$custom-light: #5d517f;
$custom-dark: #000000;
JSON
{
  "hex": "#18134d",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 245.172,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.10207,
    "h": 279.1
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#18134D
secondary
#7F8636
accent
#E444D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #18134D

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

Preview Lab → · Contrast checker → · Palette generator →

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