#183166#183166

#183166 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.098 H 263.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#183166
RGBrgb(24, 49, 102)
HSLhsl(221, 62%, 25%)
HSVhsv(221, 76%, 40%)
CMYKcmyk(76.5%, 52%, 0%, 60%)
CIE-LABlab(21.39, 10.87, -34.04)
CIE-LCHlch(21.39, 35.73, 287.71°)
OKLaboklab(32.61% -0.0119 -0.0977)
OKLCHoklch(32.61% 0.098 263.1)
XYZxyz(3.8724, 3.3497, 13.0103)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183166 #664D18
analogous
#185866 #183166 #261866
triadic
#183166 #661831 #316618
tetradic
#183166 #661858 #664D18 #186626
square
#183166 #661858 #664D18 #186626
split-complementary
#183166 #662618 #586618
monochromatic
#060C19 #0C1934 #183166 #244998 #2F61C9

Accessibility & contrast

On white

12.57
#183166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#183166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183166
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183166#FFFFFF#000000##FFFFFF
##1831661.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133768
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183166;
/* rgb */ color: rgb(24, 49, 102);
/* oklch */ color: oklch(32.6% 0.098 263.1);
Tailwind
colors: {
  custom: {
    50: '#616892',
    500: '#183166',
    950: '#000000',
  },
}
SCSS
$custom: #183166;
$custom-light: #616892;
$custom-dark: #000000;
JSON
{
  "hex": "#183166",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 220.769,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.09844,
    "h": 263.1
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#183166
secondary
#9C7E3E
accent
#B143E5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #183166

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

Preview Lab → · Contrast checker → · Palette generator →

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