#18267D#18267D

#18267D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.147 H 268.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#18267D
RGBrgb(24, 38, 125)
HSLhsl(232, 68%, 29%)
HSVhsv(232, 81%, 49%)
CMYKcmyk(80.8%, 69.6%, 0%, 51%)
CIE-LABlab(20.28, 28.03, -50.63)
CIE-LCHlch(20.28, 57.87, 298.97°)
OKLaboklab(32.4% -0.0028 -0.1466)
OKLCHoklch(32.4% 0.147 268.9)
XYZxyz(4.7702, 3.0605, 19.7374)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18267D #7D6F18
analogous
#18597D #18267D #3D187D
triadic
#18267D #7D1826 #267D18
tetradic
#18267D #7D1859 #7D6F18 #187D3D
square
#18267D #7D1859 #7D6F18 #187D3D
split-complementary
#18267D #7D3D18 #597D18
monochromatic
#05081A #0E164A #18267D #2236B0 #374DD9

Accessibility & contrast

On white

13.03
#18267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#18267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18267D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18267D#FFFFFF#000000##FFFFFF
##18267D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18267d;
/* rgb */ color: rgb(24, 38, 125);
/* oklch */ color: oklch(32.4% 0.147 268.9);
Tailwind
colors: {
  custom: {
    50: '#6860a4',
    500: '#18267d',
    950: '#000000',
  },
}
SCSS
$custom: #18267d;
$custom-light: #6860a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18267d",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 231.683,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.1466,
    "h": 268.9
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#18267D
secondary
#B2A23F
accent
#D33DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #18267D

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

Preview Lab → · Contrast checker → · Palette generator →

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