#18294B#18294B

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

Color values

HEX#18294B
RGBrgb(24, 41, 75)
HSLhsl(220, 52%, 19%)
HSVhsv(220, 68%, 29%)
CMYKcmyk(68%, 45.3%, 0%, 70.6%)
CIE-LABlab(16.93, 5.54, -23.22)
CIE-LCHlch(16.93, 23.87, 283.42°)
OKLaboklab(28.57% -0.0083 -0.0661)
OKLCHoklch(28.57% 0.067 262.8)
XYZxyz(2.4392, 2.2879, 6.9683)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18294B #4B3A18
analogous
#18434B #18294B #21184B
triadic
#18294B #4B1829 #294B18
tetradic
#18294B #4B1843 #4B3A18 #184B21
square
#18294B #4B1843 #4B3A18 #184B21
split-complementary
#18294B #4B2118 #434B18
monochromatic
#070D17 #09101D #18294B #274279 #365CA8

Accessibility & contrast

On white

14.41
#18294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18294B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18294B#FFFFFF#000000##FFFFFF
##18294B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4C
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #18294b;
/* rgb */ color: rgb(24, 41, 75);
/* oklch */ color: oklch(28.6% 0.067 262.8);
Tailwind
colors: {
  custom: {
    50: '#5b627d',
    500: '#18294b',
    950: '#000000',
  },
}
SCSS
$custom: #18294b;
$custom-light: #5b627d;
$custom-dark: #000000;
JSON
{
  "hex": "#18294b",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 220,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28568,
    "c": 0.06659,
    "h": 262.8
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#18294B
secondary
#826B3D
accent
#AC4DDB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #18294B

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

Preview Lab → · Contrast checker → · Palette generator →

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