#18233A#18233A

#18233A is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.046 H 264.0°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#18233A
RGBrgb(24, 35, 58)
HSLhsl(221, 41%, 16%)
HSVhsv(221, 59%, 23%)
CMYKcmyk(58.6%, 39.7%, 0%, 77.3%)
CIE-LABlab(13.84, 3.20, -16.34)
CIE-LCHlch(13.84, 16.65, 281.09°)
OKLaboklab(25.82% -0.0048 -0.046)
OKLCHoklch(25.82% 0.046 264)
XYZxyz(1.7412, 1.7016, 4.2389)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18233A #3A2F18
analogous
#18343A #18233A #1E183A
triadic
#18233A #3A1823 #233A18
tetradic
#18233A #3A1834 #3A2F18 #183A1E
square
#18233A #3A1834 #3A2F18 #183A1E
split-complementary
#18233A #3A1E18 #343A18
monochromatic
#090D16 #090D16 #18233A #2A3D65 #3C5791

Accessibility & contrast

On white

15.67
#18233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18233A
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18233A#FFFFFF#000000##FFFFFF
##18233A1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253B
Deuteranopia (green-blind)
#162239
Tritanopia (blue-blind)
#09282B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18233a;
/* rgb */ color: rgb(24, 35, 58);
/* oklch */ color: oklch(25.8% 0.046 264.0);
Tailwind
colors: {
  custom: {
    50: '#575d70',
    500: '#18233a',
    950: '#000000',
  },
}
SCSS
$custom: #18233a;
$custom-light: #575d70;
$custom-dark: #000000;
JSON
{
  "hex": "#18233a",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 220.588,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25824,
    "c": 0.04629,
    "h": 264
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#18233A
secondary
#70603E
accent
#AA57D1
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #18233A

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

Preview Lab → · Contrast checker → · Palette generator →

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