#18368D#18368D

#18368D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.149 H 265.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#18368D
RGBrgb(24, 54, 141)
HSLhsl(225, 71%, 32%)
HSVhsv(225, 83%, 55%)
CMYKcmyk(83%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.02, 23.35, -51.26)
CIE-LCHlch(26.02, 56.32, 294.49°)
OKLaboklab(37.1% -0.0127 -0.1482)
OKLCHoklch(37.1% 0.149 265.1)
XYZxyz(6.5019, 4.7548, 25.7692)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18368D #8D6F18
analogous
#18718D #18368D #34188D
triadic
#18368D #8D1836 #368D18
tetradic
#18368D #8D1871 #8D6F18 #188D34
square
#18368D #8D1871 #8D6F18 #188D34
split-complementary
#18368D #8D3418 #718D18
monochromatic
#060E24 #0F2259 #18368D #214AC1 #4169DF

Accessibility & contrast

On white

10.76
#18368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#18368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18368D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18368D#FFFFFF#000000##FFFFFF
##18368D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18368d;
/* rgb */ color: rgb(24, 54, 141);
/* oklch */ color: oklch(37.1% 0.149 265.1);
Tailwind
colors: {
  custom: {
    50: '#6b6caf',
    500: '#18368d',
    950: '#000000',
  },
}
SCSS
$custom: #18368d;
$custom-light: #6b6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#18368d",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 224.615,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.14878,
    "h": 265.1
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#18368D
secondary
#BF9F42
accent
#C03AEE
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #18368D

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

Preview Lab → · Contrast checker → · Palette generator →

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