#18368A#18368A

#18368A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.145 H 264.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#18368A
RGBrgb(24, 54, 138)
HSLhsl(224, 70%, 32%)
HSVhsv(224, 83%, 54%)
CMYKcmyk(82.6%, 60.9%, 0%, 45.9%)
CIE-LABlab(25.76, 22.14, -49.82)
CIE-LCHlch(25.76, 54.52, 293.96°)
OKLaboklab(36.82% -0.0127 -0.144)
OKLCHoklch(36.82% 0.145 264.9)
XYZxyz(6.2817, 4.6668, 24.6095)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18368A #8A6C18
analogous
#186F8A #18368A #33188A
triadic
#18368A #8A1836 #368A18
tetradic
#18368A #8A186F #8A6C18 #188A33
square
#18368A #8A186F #8A6C18 #188A33
split-complementary
#18368A #8A3318 #6F8A18
monochromatic
#060D22 #0F2256 #18368A #214ABE #3F69DE

Accessibility & contrast

On white

10.86
#18368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#18368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18368A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18368A#FFFFFF#000000##FFFFFF
##18368A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18368a;
/* rgb */ color: rgb(24, 54, 138);
/* oklch */ color: oklch(36.8% 0.145 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a6cad',
    500: '#18368a',
    950: '#000000',
  },
}
SCSS
$custom: #18368a;
$custom-light: #6a6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#18368a",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 224.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.14459,
    "h": 264.9
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#18368A
secondary
#BD9D40
accent
#BE3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #18368A

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

Preview Lab → · Contrast checker → · Palette generator →

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