#18267B#18267B

#18267B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.144 H 268.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#18267B
RGBrgb(24, 38, 123)
HSLhsl(232, 67%, 29%)
HSVhsv(232, 80%, 48%)
CMYKcmyk(80.5%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.08, 27.25, -49.69)
CIE-LCHlch(20.08, 56.67, 298.74°)
OKLaboklab(32.2% -0.0027 -0.1438)
OKLCHoklch(32.2% 0.144 268.9)
XYZxyz(4.6437, 3.0100, 19.0713)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18267B #7B6D18
analogous
#18587B #18267B #3C187B
triadic
#18267B #7B1826 #267B18
tetradic
#18267B #7B1858 #7B6D18 #187B3C
square
#18267B #7B1858 #7B6D18 #187B3C
split-complementary
#18267B #7B3C18 #587B18
monochromatic
#05081A #0E1648 #18267B #2236AE #364DD8

Accessibility & contrast

On white

13.11
#18267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#18267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18267B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18267B#FFFFFF#000000##FFFFFF
##18267B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18267b;
/* rgb */ color: rgb(24, 38, 123);
/* oklch */ color: oklch(32.2% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#6760a2',
    500: '#18267b',
    950: '#000000',
  },
}
SCSS
$custom: #18267b;
$custom-light: #6760a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18267b",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 231.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.14384,
    "h": 268.9
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#18267B
secondary
#B0A03F
accent
#D23EEA
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #18267B

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

Preview Lab → · Contrast checker → · Palette generator →

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