#183366#183366

#183366 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.096 H 261.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#183366
RGBrgb(24, 51, 102)
HSLhsl(219, 62%, 25%)
HSVhsv(219, 76%, 40%)
CMYKcmyk(76.5%, 50%, 0%, 60%)
CIE-LABlab(22.02, 9.43, -33.03)
CIE-LCHlch(22.02, 34.35, 285.93°)
OKLaboklab(33.09% -0.0138 -0.0947)
OKLCHoklch(33.09% 0.096 261.7)
XYZxyz(3.9579, 3.5207, 13.0388)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183366 #664B18
analogous
#185A66 #183366 #241866
triadic
#183366 #661833 #336618
tetradic
#183366 #66185A #664B18 #186624
square
#183366 #66185A #664B18 #186624
split-complementary
#183366 #662418 #5A6618
monochromatic
#060C19 #0C1A34 #183366 #244C98 #2F65C9

Accessibility & contrast

On white

12.32
#183366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#183366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183366
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183366#FFFFFF#000000##FFFFFF
##1833661.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183968
Deuteranopia (green-blind)
#053165
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #183366;
/* rgb */ color: rgb(24, 51, 102);
/* oklch */ color: oklch(33.1% 0.096 261.7);
Tailwind
colors: {
  custom: {
    50: '#616a92',
    500: '#183366',
    950: '#000000',
  },
}
SCSS
$custom: #183366;
$custom-light: #616a92;
$custom-dark: #000000;
JSON
{
  "hex": "#183366",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 219.231,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33086,
    "c": 0.09572,
    "h": 261.7
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#183366
secondary
#9C7B3E
accent
#AD43E5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #183366

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

Preview Lab → · Contrast checker → · Palette generator →

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