#182162#182162

#182162 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.114 H 271.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#182162
RGBrgb(24, 33, 98)
HSLhsl(233, 61%, 24%)
HSVhsv(233, 76%, 38%)
CMYKcmyk(75.5%, 66.3%, 0%, 61.6%)
CIE-LABlab(16.32, 20.85, -39.64)
CIE-LCHlch(16.32, 44.79, 297.74°)
OKLaboklab(28.69% 0.0022 -0.1144)
OKLCHoklch(28.69% 0.114 271.1)
XYZxyz(3.1244, 2.1634, 11.8058)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182162 #625918
analogous
#184662 #182162 #341862
triadic
#182162 #621821 #216218
tetradic
#182162 #621846 #625918 #186234
square
#182162 #621846 #625918 #186234
split-complementary
#182162 #623418 #466218
monochromatic
#060819 #0C1031 #182162 #243293 #3042C4

Accessibility & contrast

On white

14.66
#182162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#182162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182162
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182162#FFFFFF#000000##FFFFFF
##1821621.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #182162;
/* rgb */ color: rgb(24, 33, 98);
/* oklch */ color: oklch(28.7% 0.114 271.1);
Tailwind
colors: {
  custom: {
    50: '#615c8f',
    500: '#182162',
    950: '#000000',
  },
}
SCSS
$custom: #182162;
$custom-light: #615c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#182162",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 232.703,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2869,
    "c": 0.11447,
    "h": 271.1
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#182162
secondary
#988D3E
accent
#D044E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #182162

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

Preview Lab → · Contrast checker → · Palette generator →

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