#182C7C#182C7C

#182C7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.138 H 267.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#182C7C
RGBrgb(24, 44, 124)
HSLhsl(228, 68%, 29%)
HSVhsv(228, 81%, 49%)
CMYKcmyk(80.6%, 64.5%, 0%, 51.4%)
CIE-LABlab(21.76, 23.50, -47.57)
CIE-LCHlch(21.76, 53.06, 296.29°)
OKLaboklab(33.46% -0.0064 -0.1376)
OKLCHoklch(33.46% 0.138 267.3)
XYZxyz(4.9142, 3.4502, 19.4718)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C7C #7C6818
analogous
#185E7C #182C7C #36187C
triadic
#182C7C #7C182C #2C7C18
tetradic
#182C7C #7C185E #7C6818 #187C36
square
#182C7C #7C185E #7C6818 #187C36
split-complementary
#182C7C #7C3618 #5E7C18
monochromatic
#05091A #0E1A49 #182C7C #223EAF #3657D8

Accessibility & contrast

On white

12.42
#182C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C7C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C7C#FFFFFF#000000##FFFFFF
##182C7C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182c7c;
/* rgb */ color: rgb(24, 44, 124);
/* oklch */ color: oklch(33.5% 0.138 267.3);
Tailwind
colors: {
  custom: {
    50: '#6764a3',
    500: '#182c7c',
    950: '#000000',
  },
}
SCSS
$custom: #182c7c;
$custom-light: #6764a3;
$custom-dark: #000000;
JSON
{
  "hex": "#182c7c",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 228,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.13772,
    "h": 267.3
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#182C7C
secondary
#B19A3F
accent
#C83DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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