#183367#183367

#183367 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.097 H 261.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#183367
RGBrgb(24, 51, 103)
HSLhsl(219, 62%, 25%)
HSVhsv(219, 77%, 40%)
CMYKcmyk(76.7%, 50.5%, 0%, 59.6%)
CIE-LABlab(22.09, 9.85, -33.56)
CIE-LCHlch(22.09, 34.98, 286.35°)
OKLaboklab(33.16% -0.0136 -0.0963)
OKLCHoklch(33.16% 0.097 261.9)
XYZxyz(4.0078, 3.5407, 13.3015)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183367 #674C18
analogous
#185A67 #183367 #251867
triadic
#183367 #671833 #336718
tetradic
#183367 #67185A #674C18 #186725
square
#183367 #67185A #674C18 #186725
split-complementary
#183367 #672518 #5A6718
monochromatic
#060C19 #0C1A35 #183367 #244C99 #2F64CA

Accessibility & contrast

On white

12.29
#183367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#183367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183367
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183367#FFFFFF#000000##FFFFFF
##1833671.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#033166
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #183367;
/* rgb */ color: rgb(24, 51, 103);
/* oklch */ color: oklch(33.2% 0.097 261.9);
Tailwind
colors: {
  custom: {
    50: '#616a93',
    500: '#183367',
    950: '#000000',
  },
}
SCSS
$custom: #183367;
$custom-light: #616a93;
$custom-dark: #000000;
JSON
{
  "hex": "#183367",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 219.494,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.09725,
    "h": 261.9
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#183367
secondary
#9D7C3E
accent
#AE43E5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #183367

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

Preview Lab → · Contrast checker → · Palette generator →

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