#18294C#18294C

#18294C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.068 H 263.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#18294C
RGBrgb(24, 41, 76)
HSLhsl(220, 52%, 20%)
HSVhsv(220, 68%, 30%)
CMYKcmyk(68.4%, 46.1%, 0%, 70.2%)
CIE-LABlab(17.00, 5.95, -23.80)
CIE-LCHlch(17.00, 24.53, 284.03°)
OKLaboklab(28.64% -0.0081 -0.0678)
OKLCHoklch(28.64% 0.068 263.2)
XYZxyz(2.4737, 2.3016, 7.1500)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18294C #4C3B18
analogous
#18434C #18294C #21184C
triadic
#18294C #4C1829 #294C18
tetradic
#18294C #4C1843 #4C3B18 #184C21
square
#18294C #4C1843 #4C3B18 #184C21
split-complementary
#18294C #4C2118 #434C18
monochromatic
#070D17 #09101D #18294C #27427B #355BA9

Accessibility & contrast

On white

14.38
#18294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18294C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18294C#FFFFFF#000000##FFFFFF
##18294C1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4D
Deuteranopia (green-blind)
#12284B
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18294c;
/* rgb */ color: rgb(24, 41, 76);
/* oklch */ color: oklch(28.6% 0.068 263.2);
Tailwind
colors: {
  custom: {
    50: '#5b627e',
    500: '#18294c',
    950: '#000000',
  },
}
SCSS
$custom: #18294c;
$custom-light: #5b627e;
$custom-dark: #000000;
JSON
{
  "hex": "#18294c",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 220.385,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.06824,
    "h": 263.2
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#18294C
secondary
#836C3D
accent
#AD4CDB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #18294C

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

Preview Lab → · Contrast checker → · Palette generator →

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