#182E7C#182E7C

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

Color values

HEX#182E7C
RGBrgb(24, 46, 124)
HSLhsl(227, 68%, 29%)
HSVhsv(227, 81%, 49%)
CMYKcmyk(80.6%, 62.9%, 0%, 51.4%)
CIE-LABlab(22.31, 22.09, -46.67)
CIE-LCHlch(22.31, 51.64, 295.33°)
OKLaboklab(33.87% -0.0077 -0.1349)
OKLCHoklch(33.87% 0.135 266.7)
XYZxyz(4.9905, 3.6028, 19.4973)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E7C #7C6618
analogous
#18607C #182E7C #34187C
triadic
#182E7C #7C182E #2E7C18
tetradic
#182E7C #7C1860 #7C6618 #187C34
square
#182E7C #7C1860 #7C6618 #187C34
split-complementary
#182E7C #7C3418 #607C18
monochromatic
#050A1A #0E1B49 #182E7C #2241AF #365AD8

Accessibility & contrast

On white

12.21
#182E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E7C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E7C#FFFFFF#000000##FFFFFF
##182E7C1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182e7c;
/* rgb */ color: rgb(24, 46, 124);
/* oklch */ color: oklch(33.9% 0.135 266.7);
Tailwind
colors: {
  custom: {
    50: '#6766a3',
    500: '#182e7c',
    950: '#000000',
  },
}
SCSS
$custom: #182e7c;
$custom-light: #6766a3;
$custom-dark: #000000;
JSON
{
  "hex": "#182e7c",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 226.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.13514,
    "h": 266.7
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#182E7C
secondary
#B1983F
accent
#C43DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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