#18286A#18286A

#18286A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.117 H 268.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#18286A
RGBrgb(24, 40, 106)
HSLhsl(228, 63%, 25%)
HSVhsv(228, 77%, 42%)
CMYKcmyk(77.4%, 62.3%, 0%, 58.4%)
CIE-LABlab(19.02, 19.05, -40.48)
CIE-LCHlch(19.02, 44.74, 295.20°)
OKLaboklab(30.92% -0.0035 -0.1168)
OKLCHoklch(30.92% 0.117 268.3)
XYZxyz(3.7361, 2.7520, 13.9672)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18286A #6A5A18
analogous
#18516A #18286A #31186A
triadic
#18286A #6A1828 #286A18
tetradic
#18286A #6A1851 #6A5A18 #186A31
square
#18286A #6A1851 #6A5A18 #186A31
split-complementary
#18286A #6A3118 #516A18
monochromatic
#060919 #0D1538 #18286A #233B9C #2F4ECE

Accessibility & contrast

On white

13.54
#18286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#18286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18286A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18286A#FFFFFF#000000##FFFFFF
##18286A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #18286a;
/* rgb */ color: rgb(24, 40, 106);
/* oklch */ color: oklch(30.9% 0.117 268.3);
Tailwind
colors: {
  custom: {
    50: '#626195',
    500: '#18286a',
    950: '#000000',
  },
}
SCSS
$custom: #18286a;
$custom-light: #626195;
$custom-dark: #000000;
JSON
{
  "hex": "#18286a",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 228.293,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30918,
    "c": 0.11689,
    "h": 268.3
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#18286A
secondary
#A08D3E
accent
#C642E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #18286A

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

Preview Lab → · Contrast checker → · Palette generator →

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