#182247#182247

#182247 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.070 H 269.7°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#182247
RGBrgb(24, 34, 71)
HSLhsl(227, 49%, 19%)
HSVhsv(227, 66%, 28%)
CMYKcmyk(66.2%, 52.1%, 0%, 72.2%)
CIE-LABlab(14.36, 9.12, -24.58)
CIE-LCHlch(14.36, 26.22, 290.35°)
OKLaboklab(26.51% -0.0003 -0.0702)
OKLCHoklch(26.51% 0.07 269.7)
XYZxyz(2.0857, 1.7930, 6.1962)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182247 #473D18
analogous
#183947 #182247 #251847
triadic
#182247 #471822 #224718
tetradic
#182247 #471839 #473D18 #184725
square
#182247 #471839 #473D18 #184725
split-complementary
#182247 #472518 #394718
monochromatic
#080B17 #090C19 #182247 #273875 #374EA2

Accessibility & contrast

On white

15.46
#182247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182247
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182247#FFFFFF#000000##FFFFFF
##1822471.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102748
Deuteranopia (green-blind)
#092246
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182247;
/* rgb */ color: rgb(24, 34, 71);
/* oklch */ color: oklch(26.5% 0.070 269.7);
Tailwind
colors: {
  custom: {
    50: '#5a5c7a',
    500: '#182247',
    950: '#000000',
  },
}
SCSS
$custom: #182247;
$custom-light: #5a5c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#182247",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 227.234,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26507,
    "c": 0.07016,
    "h": 269.7
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#182247
secondary
#7E703D
accent
#BC4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #182247

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

Preview Lab → · Contrast checker → · Palette generator →

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