#18285A#18285A

#18285A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.092 H 267.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#18285A
RGBrgb(24, 40, 90)
HSLhsl(225, 58%, 22%)
HSVhsv(225, 73%, 35%)
CMYKcmyk(73.3%, 55.6%, 0%, 64.7%)
CIE-LABlab(17.69, 12.45, -32.11)
CIE-LCHlch(17.69, 34.44, 291.20°)
OKLaboklab(29.5% -0.0045 -0.0922)
OKLCHoklch(29.5% 0.092 267.2)
XYZxyz(2.9803, 2.4497, 9.9866)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18285A #5A4A18
analogous
#18495A #18285A #29185A
triadic
#18285A #5A1828 #285A18
tetradic
#18285A #5A1849 #5A4A18 #185A29
square
#18285A #5A1849 #5A4A18 #185A29
split-complementary
#18285A #5A2918 #495A18
monochromatic
#060B18 #0B132A #18285A #253D8A #3253BB

Accessibility & contrast

On white

14.09
#18285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18285A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18285A#FFFFFF#000000##FFFFFF
##18285A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #18285a;
/* rgb */ color: rgb(24, 40, 90);
/* oklch */ color: oklch(29.5% 0.092 267.2);
Tailwind
colors: {
  custom: {
    50: '#5e6189',
    500: '#18285a',
    950: '#000000',
  },
}
SCSS
$custom: #18285a;
$custom-light: #5e6189;
$custom-dark: #000000;
JSON
{
  "hex": "#18285a",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 225.455,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29496,
    "c": 0.09232,
    "h": 267.2
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#18285A
secondary
#917C3D
accent
#BC47E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #18285A

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

Preview Lab → · Contrast checker → · Palette generator →

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