#182143#182143

#182143 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.065 H 270.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#182143
RGBrgb(24, 33, 67)
HSLhsl(227, 47%, 18%)
HSVhsv(227, 64%, 26%)
CMYKcmyk(64.2%, 50.7%, 0%, 73.7%)
CIE-LABlab(13.75, 8.25, -22.78)
CIE-LCHlch(13.75, 24.23, 289.91°)
OKLaboklab(25.95% 0.0003 -0.0649)
OKLCHoklch(25.95% 0.065 270.2)
XYZxyz(1.9333, 1.6870, 5.5328)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182143 #433A18
analogous
#183643 #182143 #241843
triadic
#182143 #431821 #214318
tetradic
#182143 #431836 #433A18 #184324
square
#182143 #431836 #433A18 #184324
split-complementary
#182143 #432418 #364318
monochromatic
#080B17 #080B17 #182143 #283770 #384D9D

Accessibility & contrast

On white

15.70
#182143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#182143 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182143
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182143#FFFFFF#000000##FFFFFF
##1821431.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122544
Deuteranopia (green-blind)
#0C2142
Tritanopia (blue-blind)
#01292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #182143;
/* rgb */ color: rgb(24, 33, 67);
/* oklch */ color: oklch(25.9% 0.065 270.2);
Tailwind
colors: {
  custom: {
    50: '#595b77',
    500: '#182143',
    950: '#000000',
  },
}
SCSS
$custom: #182143;
$custom-light: #595b77;
$custom-dark: #000000;
JSON
{
  "hex": "#182143",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 227.442,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25948,
    "c": 0.0649,
    "h": 270.2
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#182143
secondary
#7A6D3D
accent
#BB51D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #182143

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

Preview Lab → · Contrast checker → · Palette generator →

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