#182148#182148

#182148 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.073 H 270.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#182148
RGBrgb(24, 33, 72)
HSLhsl(229, 50%, 19%)
HSVhsv(229, 67%, 28%)
CMYKcmyk(66.7%, 54.2%, 0%, 71.8%)
CIE-LABlab(14.11, 10.27, -25.67)
CIE-LCHlch(14.11, 27.65, 291.82°)
OKLaboklab(26.34% 0.0011 -0.0734)
OKLCHoklch(26.34% 0.073 270.8)
XYZxyz(2.0899, 1.7496, 6.3572)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182148 #483F18
analogous
#183948 #182148 #271848
triadic
#182148 #481821 #214818
tetradic
#182148 #481839 #483F18 #184827
square
#182148 #481839 #483F18 #184827
split-complementary
#182148 #482718 #394818
monochromatic
#080B17 #090C1A #182148 #273676 #374BA4

Accessibility & contrast

On white

15.56
#182148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#182148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182148
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182148#FFFFFF#000000##FFFFFF
##1821481.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#062247
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182148;
/* rgb */ color: rgb(24, 33, 72);
/* oklch */ color: oklch(26.3% 0.073 270.8);
Tailwind
colors: {
  custom: {
    50: '#5a5b7b',
    500: '#182148',
    950: '#000000',
  },
}
SCSS
$custom: #182148;
$custom-light: #5a5b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#182148",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 228.75,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26342,
    "c": 0.07338,
    "h": 270.8
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#182148
secondary
#7F723D
accent
#BF4EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #182148

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

Preview Lab → · Contrast checker → · Palette generator →

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