#18267A#18267A

#18267A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.142 H 269.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#18267A
RGBrgb(24, 38, 122)
HSLhsl(231, 67%, 29%)
HSVhsv(231, 80%, 48%)
CMYKcmyk(80.3%, 68.9%, 0%, 52.2%)
CIE-LABlab(19.98, 26.86, -49.22)
CIE-LCHlch(19.98, 56.07, 298.63°)
OKLaboklab(32.09% -0.0026 -0.1424)
OKLCHoklch(32.09% 0.142 269)
XYZxyz(4.5814, 2.9850, 18.7433)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18267A #7A6C18
analogous
#18577A #18267A #3B187A
triadic
#18267A #7A1826 #267A18
tetradic
#18267A #7A1857 #7A6C18 #187A3B
square
#18267A #7A1857 #7A6C18 #187A3B
split-complementary
#18267A #7A3B18 #577A18
monochromatic
#05081A #0E1647 #18267A #2236AD #354CD7

Accessibility & contrast

On white

13.15
#18267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18267A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18267A#FFFFFF#000000##FFFFFF
##18267A1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18267a;
/* rgb */ color: rgb(24, 38, 122);
/* oklch */ color: oklch(32.1% 0.142 269.0);
Tailwind
colors: {
  custom: {
    50: '#6760a1',
    500: '#18267a',
    950: '#000000',
  },
}
SCSS
$custom: #18267a;
$custom-light: #6760a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18267a",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 231.429,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.14246,
    "h": 269
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#18267A
secondary
#AF9F3F
accent
#D13EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #18267A

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

Preview Lab → · Contrast checker → · Palette generator →

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