#182773#182773

#182773 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.131 H 268.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#182773
RGBrgb(24, 39, 115)
HSLhsl(230, 65%, 27%)
HSVhsv(230, 79%, 45%)
CMYKcmyk(79.1%, 66.1%, 0%, 54.9%)
CIE-LABlab(19.57, 23.40, -45.42)
CIE-LCHlch(19.57, 51.09, 297.26°)
OKLaboklab(31.58% -0.0029 -0.1313)
OKLCHoklch(31.58% 0.131 268.7)
XYZxyz(4.1957, 2.8826, 16.5516)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182773 #736418
analogous
#185573 #182773 #371873
triadic
#182773 #731827 #277318
tetradic
#182773 #731855 #736418 #187337
square
#182773 #731855 #736418 #187337
split-complementary
#182773 #733718 #557318
monochromatic
#050919 #0D1640 #182773 #2338A6 #314CD4

Accessibility & contrast

On white

13.32
#182773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182773
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182773#FFFFFF#000000##FFFFFF
##1827731.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182773;
/* rgb */ color: rgb(24, 39, 115);
/* oklch */ color: oklch(31.6% 0.131 268.7);
Tailwind
colors: {
  custom: {
    50: '#65619c',
    500: '#182773',
    950: '#000000',
  },
}
SCSS
$custom: #182773;
$custom-light: #65619c;
$custom-dark: #000000;
JSON
{
  "hex": "#182773",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 230.11,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31577,
    "c": 0.13135,
    "h": 268.7
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#182773
secondary
#A8973F
accent
#CD3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182773

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

Preview Lab → · Contrast checker → · Palette generator →

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