#18294D#18294D

#18294D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.070 H 263.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#18294D
RGBrgb(24, 41, 77)
HSLhsl(221, 52%, 20%)
HSVhsv(221, 69%, 30%)
CMYKcmyk(68.8%, 46.8%, 0%, 69.8%)
CIE-LABlab(17.06, 6.35, -24.37)
CIE-LCHlch(17.06, 25.18, 284.61°)
OKLaboklab(28.71% -0.0078 -0.0694)
OKLCHoklch(28.71% 0.07 263.6)
XYZxyz(2.5087, 2.3157, 7.3345)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18294D #4D3C18
analogous
#18434D #18294D #22184D
triadic
#18294D #4D1829 #294D18
tetradic
#18294D #4D1843 #4D3C18 #184D22
square
#18294D #4D1843 #4D3C18 #184D22
split-complementary
#18294D #4D2218 #434D18
monochromatic
#070C17 #09101E #18294D #27427C #355BAA

Accessibility & contrast

On white

14.35
#18294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#18294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18294D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18294D#FFFFFF#000000##FFFFFF
##18294D1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4E
Deuteranopia (green-blind)
#11284C
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18294d;
/* rgb */ color: rgb(24, 41, 77);
/* oklch */ color: oklch(28.7% 0.070 263.6);
Tailwind
colors: {
  custom: {
    50: '#5b627f',
    500: '#18294d',
    950: '#000000',
  },
}
SCSS
$custom: #18294d;
$custom-light: #5b627f;
$custom-dark: #000000;
JSON
{
  "hex": "#18294d",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 220.755,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.06988,
    "h": 263.6
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#18294D
secondary
#846D3D
accent
#AE4CDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #18294D

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

Preview Lab → · Contrast checker → · Palette generator →

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