#18233B#18233B

#18233B is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.9% C 0.048 H 264.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#18233B
RGBrgb(24, 35, 59)
HSLhsl(221, 42%, 16%)
HSVhsv(221, 59%, 23%)
CMYKcmyk(59.3%, 40.7%, 0%, 76.9%)
CIE-LABlab(13.90, 3.59, -16.95)
CIE-LCHlch(13.90, 17.33, 281.96°)
OKLaboklab(25.89% -0.0045 -0.0478)
OKLCHoklch(25.89% 0.048 264.6)
XYZxyz(1.7669, 1.7119, 4.3741)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18233B #3B3018
analogous
#18353B #18233B #1F183B
triadic
#18233B #3B1823 #233B18
tetradic
#18233B #3B1835 #3B3018 #183B1F
square
#18233B #3B1835 #3B3018 #183B1F
split-complementary
#18233B #3B1F18 #353B18
monochromatic
#090D16 #090D16 #18233B #2A3D67 #3B5792

Accessibility & contrast

On white

15.64
#18233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#18233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18233B
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18233B#FFFFFF#000000##FFFFFF
##18233B1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253C
Deuteranopia (green-blind)
#16223A
Tritanopia (blue-blind)
#08282C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18233b;
/* rgb */ color: rgb(24, 35, 59);
/* oklch */ color: oklch(25.9% 0.048 264.6);
Tailwind
colors: {
  custom: {
    50: '#585d71',
    500: '#18233b',
    950: '#000000',
  },
}
SCSS
$custom: #18233b;
$custom-light: #585d71;
$custom-dark: #000000;
JSON
{
  "hex": "#18233b",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 221.143,
    "s": 42.169,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2589,
    "c": 0.04803,
    "h": 264.6
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#18233B
secondary
#71613E
accent
#AB56D2
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #18233B

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

Preview Lab → · Contrast checker → · Palette generator →

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