#183162#183162

#183162 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.092 H 262.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#183162
RGBrgb(24, 49, 98)
HSLhsl(220, 61%, 24%)
HSVhsv(220, 76%, 38%)
CMYKcmyk(75.5%, 50%, 0%, 61.6%)
CIE-LABlab(21.10, 9.21, -31.89)
CIE-LCHlch(21.10, 33.20, 286.10°)
OKLaboklab(32.29% -0.0125 -0.0914)
OKLCHoklch(32.29% 0.092 262.2)
XYZxyz(3.6788, 3.2723, 11.9906)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183162 #624918
analogous
#185662 #183162 #241862
triadic
#183162 #621831 #316218
tetradic
#183162 #621856 #624918 #186224
square
#183162 #621856 #624918 #186224
split-complementary
#183162 #622418 #566218
monochromatic
#060C19 #0C1831 #183162 #244A93 #3062C4

Accessibility & contrast

On white

12.69
#183162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#183162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183162
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183162#FFFFFF#000000##FFFFFF
##1831621.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173664
Deuteranopia (green-blind)
#063061
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183162;
/* rgb */ color: rgb(24, 49, 98);
/* oklch */ color: oklch(32.3% 0.092 262.2);
Tailwind
colors: {
  custom: {
    50: '#60688f',
    500: '#183162',
    950: '#000000',
  },
}
SCSS
$custom: #183162;
$custom-light: #60688f;
$custom-dark: #000000;
JSON
{
  "hex": "#183162",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 219.73,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.09226,
    "h": 262.2
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#183162
secondary
#987A3E
accent
#AE44E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #183162

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

Preview Lab → · Contrast checker → · Palette generator →

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