#183370#183370

#183370 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.111 H 263.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#183370
RGBrgb(24, 51, 112)
HSLhsl(222, 65%, 27%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(78.6%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.76, 13.59, -38.29)
CIE-LCHlch(22.76, 40.63, 289.54°)
OKLaboklab(33.89% -0.0124 -0.1102)
OKLCHoklch(33.89% 0.111 263.6)
XYZxyz(4.4841, 3.7312, 15.8100)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183370 #705518
analogous
#185F70 #183370 #291870
triadic
#183370 #701833 #337018
tetradic
#183370 #70185F #705518 #187029
square
#183370 #70185F #705518 #187029
split-complementary
#183370 #702918 #5F7018
monochromatic
#050B19 #0D1C3E #183370 #234AA2 #3062D3

Accessibility & contrast

On white

12.02
#183370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#183370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183370
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183370#FFFFFF#000000##FFFFFF
##1833701.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183370;
/* rgb */ color: rgb(24, 51, 112);
/* oklch */ color: oklch(33.9% 0.111 263.6);
Tailwind
colors: {
  custom: {
    50: '#636a9a',
    500: '#183370',
    950: '#000000',
  },
}
SCSS
$custom: #183370;
$custom-light: #636a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#183370",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 221.591,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33891,
    "c": 0.11088,
    "h": 263.6
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#183370
secondary
#A5863E
accent
#B440E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183370

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

Preview Lab → · Contrast checker → · Palette generator →

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