#182147#182147

#182147 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.072 H 270.7°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#182147
RGBrgb(24, 33, 71)
HSLhsl(229, 49%, 19%)
HSVhsv(229, 66%, 28%)
CMYKcmyk(66.2%, 53.5%, 0%, 72.2%)
CIE-LABlab(14.04, 9.87, -25.10)
CIE-LCHlch(14.04, 26.97, 291.46°)
OKLaboklab(26.26% 0.0009 -0.0717)
OKLCHoklch(26.26% 0.072 270.7)
XYZxyz(2.0575, 1.7367, 6.1868)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182147 #473E18
analogous
#183847 #182147 #261847
triadic
#182147 #471821 #214718
tetradic
#182147 #471838 #473E18 #184726
square
#182147 #471838 #473E18 #184726
split-complementary
#182147 #472618 #384718
monochromatic
#080B17 #090C19 #182147 #273675 #374CA2

Accessibility & contrast

On white

15.59
#182147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182147
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182147#FFFFFF#000000##FFFFFF
##1821471.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2648
Deuteranopia (green-blind)
#072246
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182147;
/* rgb */ color: rgb(24, 33, 71);
/* oklch */ color: oklch(26.3% 0.072 270.7);
Tailwind
colors: {
  custom: {
    50: '#5a5b7a',
    500: '#182147',
    950: '#000000',
  },
}
SCSS
$custom: #182147;
$custom-light: #5a5b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#182147",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 228.511,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26262,
    "c": 0.0717,
    "h": 270.7
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#182147
secondary
#7E713D
accent
#BF4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #182147

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

Preview Lab → · Contrast checker → · Palette generator →

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