#18267C#18267C

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

Color values

HEX#18267C
RGBrgb(24, 38, 124)
HSLhsl(232, 68%, 29%)
HSVhsv(232, 81%, 49%)
CMYKcmyk(80.6%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.18, 27.64, -50.16)
CIE-LCHlch(20.18, 57.27, 298.86°)
OKLaboklab(32.3% -0.0028 -0.1452)
OKLCHoklch(32.3% 0.145 268.9)
XYZxyz(4.7066, 3.0351, 19.4027)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18267C #7C6E18
analogous
#18587C #18267C #3C187C
triadic
#18267C #7C1826 #267C18
tetradic
#18267C #7C1858 #7C6E18 #187C3C
square
#18267C #7C1858 #7C6E18 #187C3C
split-complementary
#18267C #7C3C18 #587C18
monochromatic
#05081A #0E1649 #18267C #2236AF #364DD8

Accessibility & contrast

On white

13.07
#18267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18267C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18267C#FFFFFF#000000##FFFFFF
##18267C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18267c;
/* rgb */ color: rgb(24, 38, 124);
/* oklch */ color: oklch(32.3% 0.145 268.9);
Tailwind
colors: {
  custom: {
    50: '#6760a3',
    500: '#18267c',
    950: '#000000',
  },
}
SCSS
$custom: #18267c;
$custom-light: #6760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18267c",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 231.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.14523,
    "h": 268.9
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#18267C
secondary
#B1A13F
accent
#D23DEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #18267C

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

Preview Lab → · Contrast checker → · Palette generator →

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