#183168#183168

#183168 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.102 H 263.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#183168
RGBrgb(24, 49, 104)
HSLhsl(221, 63%, 25%)
HSVhsv(221, 77%, 41%)
CMYKcmyk(76.9%, 52.9%, 0%, 59.2%)
CIE-LABlab(21.54, 11.70, -35.10)
CIE-LCHlch(21.54, 37.00, 288.44°)
OKLaboklab(32.77% -0.0116 -0.1008)
OKLCHoklch(32.77% 0.102 263.4)
XYZxyz(3.9728, 3.3899, 13.5390)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183168 #684F18
analogous
#185968 #183168 #271868
triadic
#183168 #681831 #316818
tetradic
#183168 #681859 #684F18 #186827
square
#183168 #681859 #684F18 #186827
split-complementary
#183168 #682718 #596818
monochromatic
#060C19 #0D1A36 #183168 #23489A #2F60CB

Accessibility & contrast

On white

12.51
#183168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#183168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183168
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183168#FFFFFF#000000##FFFFFF
##1831681.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10386A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #183168;
/* rgb */ color: rgb(24, 49, 104);
/* oklch */ color: oklch(32.8% 0.102 263.4);
Tailwind
colors: {
  custom: {
    50: '#616893',
    500: '#183168',
    950: '#000000',
  },
}
SCSS
$custom: #183168;
$custom-light: #616893;
$custom-dark: #000000;
JSON
{
  "hex": "#183168",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 221.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.1015,
    "h": 263.4
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#183168
secondary
#9E803E
accent
#B342E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #183168

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

Preview Lab → · Contrast checker → · Palette generator →

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