#182167#182167

#182167 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.2% C 0.122 H 270.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#182167
RGBrgb(24, 33, 103)
HSLhsl(233, 62%, 25%)
HSVhsv(233, 77%, 40%)
CMYKcmyk(76.7%, 68%, 0%, 59.6%)
CIE-LABlab(16.80, 22.85, -42.15)
CIE-LCHlch(16.80, 47.95, 298.46°)
OKLaboklab(29.19% 0.0019 -0.1218)
OKLCHoklch(29.19% 0.122 270.9)
XYZxyz(3.3679, 2.2608, 13.0882)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182167 #675E18
analogous
#184867 #182167 #371867
triadic
#182167 #671821 #216718
tetradic
#182167 #671848 #675E18 #186737
square
#182167 #671848 #675E18 #186737
split-complementary
#182167 #673718 #486718
monochromatic
#060819 #0C1135 #182167 #243199 #2F41CA

Accessibility & contrast

On white

14.46
#182167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#182167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182167
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182167#FFFFFF#000000##FFFFFF
##1821671.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182167;
/* rgb */ color: rgb(24, 33, 103);
/* oklch */ color: oklch(29.2% 0.122 270.9);
Tailwind
colors: {
  custom: {
    50: '#625c93',
    500: '#182167',
    950: '#000000',
  },
}
SCSS
$custom: #182167;
$custom-light: #625c93;
$custom-dark: #000000;
JSON
{
  "hex": "#182167",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 233.165,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29189,
    "c": 0.12183,
    "h": 270.9
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#182167
secondary
#9D923E
accent
#D343E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182167

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

Preview Lab → · Contrast checker → · Palette generator →

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