#18295A#18295A

#18295A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.091 H 266.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#18295A
RGBrgb(24, 41, 90)
HSLhsl(225, 58%, 22%)
HSVhsv(225, 73%, 35%)
CMYKcmyk(73.3%, 54.4%, 0%, 64.7%)
CIE-LABlab(18.00, 11.72, -31.61)
CIE-LCHlch(18.00, 33.71, 290.34°)
OKLaboklab(29.73% -0.0056 -0.0907)
OKLCHoklch(29.73% 0.091 266.5)
XYZxyz(3.0144, 2.5180, 9.9980)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18295A #5A4918
analogous
#184A5A #18295A #28185A
triadic
#18295A #5A1829 #295A18
tetradic
#18295A #5A184A #5A4918 #185A28
square
#18295A #5A184A #5A4918 #185A28
split-complementary
#18295A #5A2818 #4A5A18
monochromatic
#060B18 #0B132A #18295A #253F8A #3255BB

Accessibility & contrast

On white

13.97
#18295A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#18295A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18295A
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18295A#FFFFFF#000000##FFFFFF
##18295A1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #18295a;
/* rgb */ color: rgb(24, 41, 90);
/* oklch */ color: oklch(29.7% 0.091 266.5);
Tailwind
colors: {
  custom: {
    50: '#5e6289',
    500: '#18295a',
    950: '#000000',
  },
}
SCSS
$custom: #18295a;
$custom-light: #5e6289;
$custom-dark: #000000;
JSON
{
  "hex": "#18295a",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 224.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29731,
    "c": 0.09089,
    "h": 266.5
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#18295A
secondary
#917B3D
accent
#B947E1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #18295A

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

Preview Lab → · Contrast checker → · Palette generator →

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