#182C7E#182C7E

#182C7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.141 H 267.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#182C7E
RGBrgb(24, 44, 126)
HSLhsl(228, 68%, 29%)
HSVhsv(228, 81%, 49%)
CMYKcmyk(81%, 65.1%, 0%, 50.6%)
CIE-LABlab(21.95, 24.30, -48.53)
CIE-LCHlch(21.95, 54.28, 296.59°)
OKLaboklab(33.65% -0.0064 -0.1404)
OKLCHoklch(33.65% 0.141 267.4)
XYZxyz(5.0420, 3.5013, 20.1447)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C7E #7E6A18
analogous
#185F7E #182C7E #37187E
triadic
#182C7E #7E182C #2C7E18
tetradic
#182C7E #7E185F #7E6A18 #187E37
square
#182C7E #7E185F #7E6A18 #187E37
split-complementary
#182C7E #7E3718 #5F7E18
monochromatic
#05091A #0E1A4B #182C7E #223EB1 #3757D9

Accessibility & contrast

On white

12.35
#182C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C7E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C7E#FFFFFF#000000##FFFFFF
##182C7E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182c7e;
/* rgb */ color: rgb(24, 44, 126);
/* oklch */ color: oklch(33.7% 0.141 267.4);
Tailwind
colors: {
  custom: {
    50: '#6764a4',
    500: '#182c7e',
    950: '#000000',
  },
}
SCSS
$custom: #182c7e;
$custom-light: #6764a4;
$custom-dark: #000000;
JSON
{
  "hex": "#182c7e",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 228.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.14054,
    "h": 267.4
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#182C7E
secondary
#B29C3F
accent
#C93DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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