#183173#183173

#183173 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.118 H 265.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#183173
RGBrgb(24, 49, 115)
HSLhsl(224, 65%, 27%)
HSVhsv(224, 79%, 45%)
CMYKcmyk(79.1%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.40, 16.27, -40.80)
CIE-LCHlch(22.40, 43.92, 291.74°)
OKLaboklab(33.69% -0.0104 -0.1176)
OKLCHoklch(33.69% 0.118 265)
XYZxyz(4.5684, 3.6281, 16.6759)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183173 #735A18
analogous
#185F73 #183173 #2C1873
triadic
#183173 #731831 #317318
tetradic
#183173 #73185F #735A18 #18732C
square
#183173 #73185F #735A18 #18732C
split-complementary
#183173 #732C18 #5F7318
monochromatic
#050B19 #0D1B40 #183173 #2347A6 #315ED4

Accessibility & contrast

On white

12.17
#183173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#183173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183173
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183173#FFFFFF#000000##FFFFFF
##1831731.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183173;
/* rgb */ color: rgb(24, 49, 115);
/* oklch */ color: oklch(33.7% 0.118 265.0);
Tailwind
colors: {
  custom: {
    50: '#64689c',
    500: '#183173',
    950: '#000000',
  },
}
SCSS
$custom: #183173;
$custom-light: #64689c;
$custom-dark: #000000;
JSON
{
  "hex": "#183173",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 223.516,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33693,
    "c": 0.11806,
    "h": 265
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#183173
secondary
#A88B3F
accent
#BA3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183173

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

Preview Lab → · Contrast checker → · Palette generator →

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