#18264F#18264F

#18264F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.077 H 267.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#18264F
RGBrgb(24, 38, 79)
HSLhsl(225, 53%, 20%)
HSVhsv(225, 70%, 31%)
CMYKcmyk(69.6%, 51.9%, 0%, 69%)
CIE-LABlab(16.23, 9.39, -27.06)
CIE-LCHlch(16.23, 28.65, 289.14°)
OKLaboklab(28.12% -0.0038 -0.0774)
OKLCHoklch(28.12% 0.078 267.2)
XYZxyz(2.4806, 2.1447, 7.6789)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18264F #4F4118
analogous
#18414F #18264F #25184F
triadic
#18264F #4F1826 #264F18
tetradic
#18264F #4F1841 #4F4118 #184F25
square
#18264F #4F1841 #4F4118 #184F25
split-complementary
#18264F #4F2518 #414F18
monochromatic
#070B17 #0A0F20 #18264F #263D7E #3553AD

Accessibility & contrast

On white

14.70
#18264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#18264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18264F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18264F#FFFFFF#000000##FFFFFF
##18264F1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#07264E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #18264f;
/* rgb */ color: rgb(24, 38, 79);
/* oklch */ color: oklch(28.1% 0.077 267.2);
Tailwind
colors: {
  custom: {
    50: '#5c5f81',
    500: '#18264f',
    950: '#000000',
  },
}
SCSS
$custom: #18264f;
$custom-light: #5c5f81;
$custom-dark: #000000;
JSON
{
  "hex": "#18264f",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 224.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28119,
    "c": 0.0775,
    "h": 267.2
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#18264F
secondary
#86733D
accent
#B84BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18264F

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

Preview Lab → · Contrast checker → · Palette generator →

#18264F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva