#18285C#18285C

#18285C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.095 H 267.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#18285C
RGBrgb(24, 40, 92)
HSLhsl(226, 59%, 23%)
HSVhsv(226, 74%, 36%)
CMYKcmyk(73.9%, 56.5%, 0%, 63.9%)
CIE-LABlab(17.85, 13.28, -33.19)
CIE-LCHlch(17.85, 35.75, 291.81°)
OKLaboklab(29.67% -0.0043 -0.0954)
OKLCHoklch(29.67% 0.095 267.4)
XYZxyz(3.0666, 2.4842, 10.4410)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18285C #5C4C18
analogous
#184A5C #18285C #2A185C
triadic
#18285C #5C1828 #285C18
tetradic
#18285C #5C184A #5C4C18 #185C2A
square
#18285C #5C184A #5C4C18 #185C2A
split-complementary
#18285C #5C2A18 #4A5C18
monochromatic
#060B18 #0B132B #18285C #253D8D #3152BD

Accessibility & contrast

On white

14.03
#18285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18285C
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18285C#FFFFFF#000000##FFFFFF
##18285C1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062F5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #18285c;
/* rgb */ color: rgb(24, 40, 92);
/* oklch */ color: oklch(29.7% 0.095 267.4);
Tailwind
colors: {
  custom: {
    50: '#5f618b',
    500: '#18285c',
    950: '#000000',
  },
}
SCSS
$custom: #18285c;
$custom-light: #5f618b;
$custom-dark: #000000;
JSON
{
  "hex": "#18285c",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 225.882,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.09548,
    "h": 267.4
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#18285C
secondary
#937E3D
accent
#BD46E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #18285C

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

Preview Lab → · Contrast checker → · Palette generator →

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