#182774#182774

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

Color values

HEX#182774
RGBrgb(24, 39, 116)
HSLhsl(230, 66%, 27%)
HSVhsv(230, 79%, 45%)
CMYKcmyk(79.3%, 66.4%, 0%, 54.5%)
CIE-LABlab(19.66, 23.80, -45.90)
CIE-LCHlch(19.66, 51.71, 297.41°)
OKLaboklab(31.68% -0.0029 -0.1327)
OKLCHoklch(31.68% 0.133 268.7)
XYZxyz(4.2535, 2.9057, 16.8563)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182774 #746518
analogous
#185574 #182774 #371874
triadic
#182774 #741827 #277418
tetradic
#182774 #741855 #746518 #187437
square
#182774 #741855 #746518 #187437
split-complementary
#182774 #743718 #557418
monochromatic
#050919 #0E1641 #182774 #2238A7 #324CD5

Accessibility & contrast

On white

13.28
#182774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182774
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182774#FFFFFF#000000##FFFFFF
##1827741.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182774;
/* rgb */ color: rgb(24, 39, 116);
/* oklch */ color: oklch(31.7% 0.133 268.7);
Tailwind
colors: {
  custom: {
    50: '#65619d',
    500: '#182774',
    950: '#000000',
  },
}
SCSS
$custom: #182774;
$custom-light: #65619d;
$custom-dark: #000000;
JSON
{
  "hex": "#182774",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 230.217,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31677,
    "c": 0.13277,
    "h": 268.7
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#182774
secondary
#A9983F
accent
#CD3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182774

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

Preview Lab → · Contrast checker → · Palette generator →

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