#18397A#18397A

#18397A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.118 H 262.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#18397A
RGBrgb(24, 57, 122)
HSLhsl(220, 67%, 29%)
HSVhsv(220, 80%, 48%)
CMYKcmyk(80.3%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.34, 13.46, -40.49)
CIE-LCHlch(25.34, 42.67, 288.39°)
OKLaboklab(36.09% -0.0162 -0.1166)
OKLCHoklch(36.09% 0.118 262.1)
XYZxyz(5.3514, 4.5250, 18.9999)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18397A #7A5918
analogous
#186A7A #18397A #28187A
triadic
#18397A #7A1839 #397A18
tetradic
#18397A #7A186A #7A5918 #187A28
square
#18397A #7A186A #7A5918 #187A28
split-complementary
#18397A #7A2818 #6A7A18
monochromatic
#050C1A #0E2147 #18397A #2251AD #356CD7

Accessibility & contrast

On white

11.02
#18397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#18397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18397A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18397A#FFFFFF#000000##FFFFFF
##18397A1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18397a;
/* rgb */ color: rgb(24, 57, 122);
/* oklch */ color: oklch(36.1% 0.118 262.1);
Tailwind
colors: {
  custom: {
    50: '#656ea1',
    500: '#18397a',
    950: '#000000',
  },
}
SCSS
$custom: #18397a;
$custom-light: #656ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#18397a",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 219.796,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.11769,
    "h": 262.1
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#18397A
secondary
#AF893F
accent
#B03EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #18397A

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

Preview Lab → · Contrast checker → · Palette generator →

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