#182C6A#182C6A

#182C6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.111 H 266.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#182C6A
RGBrgb(24, 44, 106)
HSLhsl(225, 63%, 25%)
HSVhsv(225, 77%, 42%)
CMYKcmyk(77.4%, 58.5%, 0%, 58.4%)
CIE-LABlab(20.19, 16.16, -38.59)
CIE-LCHlch(20.19, 41.84, 292.72°)
OKLaboklab(31.79% -0.0069 -0.1112)
OKLCHoklch(31.79% 0.111 266.5)
XYZxyz(3.8780, 3.0357, 14.0145)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C6A #6A5618
analogous
#18556A #182C6A #2D186A
triadic
#182C6A #6A182C #2C6A18
tetradic
#182C6A #6A1855 #6A5618 #186A2D
square
#182C6A #6A1855 #6A5618 #186A2D
split-complementary
#182C6A #6A2D18 #556A18
monochromatic
#060A19 #0D1738 #182C6A #23419C #2F55CE

Accessibility & contrast

On white

13.07
#182C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C6A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C6A#FFFFFF#000000##FFFFFF
##182C6A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182c6a;
/* rgb */ color: rgb(24, 44, 106);
/* oklch */ color: oklch(31.8% 0.111 266.5);
Tailwind
colors: {
  custom: {
    50: '#626495',
    500: '#182c6a',
    950: '#000000',
  },
}
SCSS
$custom: #182c6a;
$custom-light: #626495;
$custom-dark: #000000;
JSON
{
  "hex": "#182c6a",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 225.366,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3179,
    "c": 0.11142,
    "h": 266.5
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#182C6A
secondary
#A0883E
accent
#BE42E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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