#18233E#18233E

#18233E is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.1% C 0.053 H 266.1°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#18233E
RGBrgb(24, 35, 62)
HSLhsl(223, 44%, 17%)
HSVhsv(223, 61%, 24%)
CMYKcmyk(61.3%, 43.5%, 0%, 75.7%)
CIE-LABlab(14.08, 4.76, -18.77)
CIE-LCHlch(14.08, 19.36, 284.24°)
OKLaboklab(26.09% -0.0037 -0.0531)
OKLCHoklch(26.09% 0.053 266.1)
XYZxyz(1.8469, 1.7439, 4.7958)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18233E #3E3318
analogous
#18363E #18233E #20183E
triadic
#18233E #3E1823 #233E18
tetradic
#18233E #3E1836 #3E3318 #183E20
square
#18233E #3E1836 #3E3318 #183E20
split-complementary
#18233E #3E2018 #363E18
monochromatic
#090C16 #090C16 #18233E #293C6A #3A5596

Accessibility & contrast

On white

15.57
#18233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#18233E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18233E
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18233E#FFFFFF#000000##FFFFFF
##18233E1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18263F
Deuteranopia (green-blind)
#14223D
Tritanopia (blue-blind)
#05292D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18233e;
/* rgb */ color: rgb(24, 35, 62);
/* oklch */ color: oklch(26.1% 0.053 266.1);
Tailwind
colors: {
  custom: {
    50: '#585d73',
    500: '#18233e',
    950: '#000000',
  },
}
SCSS
$custom: #18233e;
$custom-light: #585d73;
$custom-dark: #000000;
JSON
{
  "hex": "#18233e",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 222.632,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26094,
    "c": 0.05324,
    "h": 266.1
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#18233E
secondary
#74643D
accent
#AF54D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #18233E

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

Preview Lab → · Contrast checker → · Palette generator →

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