#18285B#18285B

#18285B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.094 H 267.3°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#18285B
RGBrgb(24, 40, 91)
HSLhsl(226, 58%, 23%)
HSVhsv(226, 74%, 36%)
CMYKcmyk(73.6%, 56%, 0%, 64.3%)
CIE-LABlab(17.77, 12.87, -32.65)
CIE-LCHlch(17.77, 35.09, 291.51°)
OKLaboklab(29.58% -0.0044 -0.0938)
OKLCHoklch(29.58% 0.094 267.3)
XYZxyz(3.0232, 2.4668, 10.2123)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18285B #5B4B18
analogous
#18495B #18285B #2A185B
triadic
#18285B #5B1828 #285B18
tetradic
#18285B #5B1849 #5B4B18 #185B2A
square
#18285B #5B1849 #5B4B18 #185B2A
split-complementary
#18285B #5B2A18 #495B18
monochromatic
#060B18 #0B132B #18285B #253D8B #3253BC

Accessibility & contrast

On white

14.06
#18285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#18285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18285B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18285B#FFFFFF#000000##FFFFFF
##18285B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #18285b;
/* rgb */ color: rgb(24, 40, 91);
/* oklch */ color: oklch(29.6% 0.094 267.3);
Tailwind
colors: {
  custom: {
    50: '#5e618a',
    500: '#18285b',
    950: '#000000',
  },
}
SCSS
$custom: #18285b;
$custom-light: #5e618a;
$custom-dark: #000000;
JSON
{
  "hex": "#18285b",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 225.672,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2958,
    "c": 0.0939,
    "h": 267.3
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#18285B
secondary
#927D3D
accent
#BC46E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #18285B

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

Preview Lab → · Contrast checker → · Palette generator →

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