#182B74#182B74

#182B74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.128 H 267.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#182B74
RGBrgb(24, 43, 116)
HSLhsl(228, 66%, 27%)
HSVhsv(228, 79%, 45%)
CMYKcmyk(79.3%, 62.9%, 0%, 54.5%)
CIE-LABlab(20.76, 20.97, -44.11)
CIE-LCHlch(20.76, 48.84, 295.43°)
OKLaboklab(32.49% -0.0057 -0.1274)
OKLCHoklch(32.49% 0.128 267.4)
XYZxyz(4.3919, 3.1824, 16.9024)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B74 #746118
analogous
#185974 #182B74 #331874
triadic
#182B74 #74182B #2B7418
tetradic
#182B74 #741859 #746118 #187433
square
#182B74 #741859 #746118 #187433
split-complementary
#182B74 #743318 #597418
monochromatic
#050919 #0E1841 #182B74 #223EA7 #3253D5

Accessibility & contrast

On white

12.83
#182B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B74
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B74#FFFFFF#000000##FFFFFF
##182B741.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182b74;
/* rgb */ color: rgb(24, 43, 116);
/* oklch */ color: oklch(32.5% 0.128 267.4);
Tailwind
colors: {
  custom: {
    50: '#65649d',
    500: '#182b74',
    950: '#000000',
  },
}
SCSS
$custom: #182b74;
$custom-light: #65649d;
$custom-dark: #000000;
JSON
{
  "hex": "#182b74",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 227.609,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32489,
    "c": 0.12757,
    "h": 267.4
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#182B74
secondary
#A9933F
accent
#C63FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B74

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

Preview Lab → · Contrast checker → · Palette generator →

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