#182E7B#182E7B

#182E7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.134 H 266.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#182E7B
RGBrgb(24, 46, 123)
HSLhsl(227, 67%, 29%)
HSVhsv(227, 80%, 48%)
CMYKcmyk(80.5%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.22, 21.68, -46.18)
CIE-LCHlch(22.22, 51.02, 295.15°)
OKLaboklab(33.77% -0.0077 -0.1335)
OKLCHoklch(33.77% 0.134 266.7)
XYZxyz(4.9276, 3.5777, 19.1659)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E7B #7B6518
analogous
#18607B #182E7B #34187B
triadic
#182E7B #7B182E #2E7B18
tetradic
#182E7B #7B1860 #7B6518 #187B34
square
#182E7B #7B1860 #7B6518 #187B34
split-complementary
#182E7B #7B3418 #607B18
monochromatic
#050A1A #0E1B48 #182E7B #2241AE #365AD8

Accessibility & contrast

On white

12.24
#182E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#182E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E7B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E7B#FFFFFF#000000##FFFFFF
##182E7B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182e7b;
/* rgb */ color: rgb(24, 46, 123);
/* oklch */ color: oklch(33.8% 0.134 266.7);
Tailwind
colors: {
  custom: {
    50: '#6666a2',
    500: '#182e7b',
    950: '#000000',
  },
}
SCSS
$custom: #182e7b;
$custom-light: #6666a2;
$custom-dark: #000000;
JSON
{
  "hex": "#182e7b",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 226.667,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.1337,
    "h": 266.7
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#182E7B
secondary
#B0973F
accent
#C43EEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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