#182873#182873

#182873 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.130 H 268.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#182873
RGBrgb(24, 40, 115)
HSLhsl(229, 65%, 27%)
HSVhsv(229, 79%, 45%)
CMYKcmyk(79.1%, 65.2%, 0%, 54.9%)
CIE-LABlab(19.84, 22.70, -44.97)
CIE-LCHlch(19.84, 50.37, 296.78°)
OKLaboklab(31.78% -0.0036 -0.13)
OKLCHoklch(31.78% 0.13 268.4)
XYZxyz(4.2289, 2.9491, 16.5627)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182873 #736318
analogous
#185573 #182873 #361873
triadic
#182873 #731828 #287318
tetradic
#182873 #731855 #736318 #187336
square
#182873 #731855 #736318 #187336
split-complementary
#182873 #733618 #557318
monochromatic
#050919 #0D1640 #182873 #233AA6 #314ED4

Accessibility & contrast

On white

13.21
#182873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182873
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182873#FFFFFF#000000##FFFFFF
##1828731.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182873;
/* rgb */ color: rgb(24, 40, 115);
/* oklch */ color: oklch(31.8% 0.130 268.4);
Tailwind
colors: {
  custom: {
    50: '#65619c',
    500: '#182873',
    950: '#000000',
  },
}
SCSS
$custom: #182873;
$custom-light: #65619c;
$custom-dark: #000000;
JSON
{
  "hex": "#182873",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 229.451,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.13005,
    "h": 268.4
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#182873
secondary
#A8963F
accent
#CB3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182873

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

Preview Lab → · Contrast checker → · Palette generator →

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