#18285D#18285D

#18285D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.097 H 267.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#18285D
RGBrgb(24, 40, 93)
HSLhsl(226, 59%, 23%)
HSVhsv(226, 74%, 36%)
CMYKcmyk(74.2%, 57%, 0%, 63.5%)
CIE-LABlab(17.93, 13.70, -33.72)
CIE-LCHlch(17.93, 36.40, 292.11°)
OKLaboklab(29.75% -0.0042 -0.097)
OKLCHoklch(29.75% 0.097 267.5)
XYZxyz(3.1106, 2.5018, 10.6728)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18285D #5D4D18
analogous
#184A5D #18285D #2A185D
triadic
#18285D #5D1828 #285D18
tetradic
#18285D #5D184A #5D4D18 #185D2A
square
#18285D #5D184A #5D4D18 #185D2A
split-complementary
#18285D #5D2A18 #4A5D18
monochromatic
#060A18 #0B132C #18285D #253D8E #3152BE

Accessibility & contrast

On white

14.00
#18285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#18285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18285D
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18285D#FFFFFF#000000##FFFFFF
##18285D1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042F5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #18285d;
/* rgb */ color: rgb(24, 40, 93);
/* oklch */ color: oklch(29.8% 0.097 267.5);
Tailwind
colors: {
  custom: {
    50: '#5f618b',
    500: '#18285d',
    950: '#000000',
  },
}
SCSS
$custom: #18285d;
$custom-light: #5f618b;
$custom-dark: #000000;
JSON
{
  "hex": "#18285d",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 226.087,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29751,
    "c": 0.09705,
    "h": 267.5
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#18285D
secondary
#93803D
accent
#BE46E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #18285D

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

Preview Lab → · Contrast checker → · Palette generator →

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