#18253F#18253F

#18253F is a dark, muted blue. Relative luminance 0.019; OKLCH L 26.7% C 0.052 H 263.2°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#18253F
RGBrgb(24, 37, 63)
HSLhsl(220, 45%, 17%)
HSVhsv(220, 62%, 25%)
CMYKcmyk(61.9%, 41.3%, 0%, 75.3%)
CIE-LABlab(14.82, 3.67, -18.29)
CIE-LCHlch(14.82, 18.66, 281.35°)
OKLaboklab(26.69% -0.0062 -0.0517)
OKLCHoklch(26.69% 0.052 263.2)
XYZxyz(1.9352, 1.8761, 4.9618)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18253F #3F3218
analogous
#18393F #18253F #1F183F
triadic
#18253F #3F1825 #253F18
tetradic
#18253F #3F1839 #3F3218 #183F1F
square
#18253F #3F1839 #3F3218 #183F1F
split-complementary
#18253F #3F1F18 #393F18
monochromatic
#080D16 #080D16 #18253F #293F6B #3A5998

Accessibility & contrast

On white

15.27
#18253F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#18253F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18253F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18253F#FFFFFF#000000##FFFFFF
##18253F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2740
Deuteranopia (green-blind)
#16243E
Tritanopia (blue-blind)
#042B2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18253f;
/* rgb */ color: rgb(24, 37, 63);
/* oklch */ color: oklch(26.7% 0.052 263.2);
Tailwind
colors: {
  custom: {
    50: '#585f74',
    500: '#18253f',
    950: '#000000',
  },
}
SCSS
$custom: #18253f;
$custom-light: #585f74;
$custom-dark: #000000;
JSON
{
  "hex": "#18253f",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 63
  },
  "hsl": {
    "h": 220,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26688,
    "c": 0.05208,
    "h": 263.2
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#18253F
secondary
#75633D
accent
#A953D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #18253F

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

Preview Lab → · Contrast checker → · Palette generator →

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