#182D74#182D74

#182D74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.125 H 266.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#182D74
RGBrgb(24, 45, 116)
HSLhsl(226, 66%, 27%)
HSVhsv(226, 79%, 45%)
CMYKcmyk(79.3%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.32, 19.55, -43.19)
CIE-LCHlch(21.32, 47.40, 294.35°)
OKLaboklab(32.91% -0.0072 -0.1247)
OKLCHoklch(32.91% 0.125 266.7)
XYZxyz(4.4664, 3.3314, 16.9272)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D74 #745F18
analogous
#185B74 #182D74 #311874
triadic
#182D74 #74182D #2D7418
tetradic
#182D74 #74185B #745F18 #187431
square
#182D74 #74185B #745F18 #187431
split-complementary
#182D74 #743118 #5B7418
monochromatic
#050A19 #0E1941 #182D74 #2241A7 #3257D5

Accessibility & contrast

On white

12.60
#182D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D74
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D74#FFFFFF#000000##FFFFFF
##182D741.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182d74;
/* rgb */ color: rgb(24, 45, 116);
/* oklch */ color: oklch(32.9% 0.125 266.7);
Tailwind
colors: {
  custom: {
    50: '#65659d',
    500: '#182d74',
    950: '#000000',
  },
}
SCSS
$custom: #182d74;
$custom-light: #65659d;
$custom-dark: #000000;
JSON
{
  "hex": "#182d74",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 226.304,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.12491,
    "h": 266.7
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#182D74
secondary
#A9913F
accent
#C23FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182D74

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

Preview Lab → · Contrast checker → · Palette generator →

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