#182248#182248

#182248 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.072 H 269.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#182248
RGBrgb(24, 34, 72)
HSLhsl(228, 50%, 19%)
HSVhsv(228, 67%, 28%)
CMYKcmyk(66.7%, 52.8%, 0%, 71.8%)
CIE-LABlab(14.43, 9.52, -25.15)
CIE-LCHlch(14.43, 26.89, 290.73°)
OKLaboklab(26.59% -0.0002 -0.0718)
OKLCHoklch(26.59% 0.072 269.9)
XYZxyz(2.1180, 1.8060, 6.3666)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182248 #483E18
analogous
#183A48 #182248 #261848
triadic
#182248 #481822 #224818
tetradic
#182248 #48183A #483E18 #184826
square
#182248 #48183A #483E18 #184826
split-complementary
#182248 #482618 #3A4818
monochromatic
#080B17 #090C1A #182248 #273876 #374DA4

Accessibility & contrast

On white

15.43
#182248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#182248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182248
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182248#FFFFFF#000000##FFFFFF
##1822481.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2749
Deuteranopia (green-blind)
#082247
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182248;
/* rgb */ color: rgb(24, 34, 72);
/* oklch */ color: oklch(26.6% 0.072 269.9);
Tailwind
colors: {
  custom: {
    50: '#5a5c7b',
    500: '#182248',
    950: '#000000',
  },
}
SCSS
$custom: #182248;
$custom-light: #5a5c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#182248",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 227.5,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26586,
    "c": 0.07185,
    "h": 269.9
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#182248
secondary
#7F713D
accent
#BD4EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #182248

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

Preview Lab → · Contrast checker → · Palette generator →

#182248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva