#18294E#18294E

#18294E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.072 H 263.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#18294E
RGBrgb(24, 41, 78)
HSLhsl(221, 53%, 20%)
HSVhsv(221, 69%, 31%)
CMYKcmyk(69.2%, 47.4%, 0%, 69.4%)
CIE-LABlab(17.13, 6.76, -24.94)
CIE-LCHlch(17.13, 25.84, 285.17°)
OKLaboklab(28.79% -0.0076 -0.0711)
OKLCHoklch(28.79% 0.072 263.9)
XYZxyz(2.5443, 2.3299, 7.5219)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18294E #4E3D18
analogous
#18444E #18294E #22184E
triadic
#18294E #4E1829 #294E18
tetradic
#18294E #4E1844 #4E3D18 #184E22
square
#18294E #4E1844 #4E3D18 #184E22
split-complementary
#18294E #4E2218 #444E18
monochromatic
#070C17 #0A101F #18294E #26427D #355AAC

Accessibility & contrast

On white

14.32
#18294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#18294E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18294E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18294E#FFFFFF#000000##FFFFFF
##18294E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D4F
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18294e;
/* rgb */ color: rgb(24, 41, 78);
/* oklch */ color: oklch(28.8% 0.072 263.9);
Tailwind
colors: {
  custom: {
    50: '#5b6280',
    500: '#18294e',
    950: '#000000',
  },
}
SCSS
$custom: #18294e;
$custom-light: #5b6280;
$custom-dark: #000000;
JSON
{
  "hex": "#18294e",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 221.111,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.28788,
    "c": 0.07153,
    "h": 263.9
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#18294E
secondary
#856E3D
accent
#AF4BDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #18294E

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

Preview Lab → · Contrast checker → · Palette generator →

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