#182C74#182C74

#182C74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.126 H 267.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#182C74
RGBrgb(24, 44, 116)
HSLhsl(227, 66%, 27%)
HSVhsv(227, 79%, 45%)
CMYKcmyk(79.3%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.04, 20.26, -43.65)
CIE-LCHlch(21.04, 48.12, 294.90°)
OKLaboklab(32.7% -0.0064 -0.1261)
OKLCHoklch(32.7% 0.126 267.1)
XYZxyz(4.4287, 3.2560, 16.9147)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C74 #746018
analogous
#185A74 #182C74 #321874
triadic
#182C74 #74182C #2C7418
tetradic
#182C74 #74185A #746018 #187432
square
#182C74 #74185A #746018 #187432
split-complementary
#182C74 #743218 #5A7418
monochromatic
#050A19 #0E1941 #182C74 #223FA7 #3255D5

Accessibility & contrast

On white

12.72
#182C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C74
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C74#FFFFFF#000000##FFFFFF
##182C741.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182c74;
/* rgb */ color: rgb(24, 44, 116);
/* oklch */ color: oklch(32.7% 0.126 267.1);
Tailwind
colors: {
  custom: {
    50: '#65649d',
    500: '#182c74',
    950: '#000000',
  },
}
SCSS
$custom: #182c74;
$custom-light: #65649d;
$custom-dark: #000000;
JSON
{
  "hex": "#182c74",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 226.957,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.12623,
    "h": 267.1
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#182C74
secondary
#A9923F
accent
#C43FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C74

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

Preview Lab → · Contrast checker → · Palette generator →

#182C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva