#182C6D#182C6D

#182C6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.116 H 266.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#182C6D
RGBrgb(24, 44, 109)
HSLhsl(226, 64%, 26%)
HSVhsv(226, 78%, 43%)
CMYKcmyk(78%, 59.6%, 0%, 57.3%)
CIE-LABlab(20.44, 17.39, -40.13)
CIE-LCHlch(20.44, 43.73, 293.43°)
OKLaboklab(32.06% -0.0067 -0.1157)
OKLCHoklch(32.06% 0.116 266.7)
XYZxyz(4.0367, 3.0992, 14.8505)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C6D #6D5918
analogous
#18566D #182C6D #2E186D
triadic
#182C6D #6D182C #2C6D18
tetradic
#182C6D #6D1856 #6D5918 #186D2E
square
#182C6D #6D1856 #6D5918 #186D2E
split-complementary
#182C6D #6D2E18 #566D18
monochromatic
#060A19 #0D183B #182C6D #23409F #2E55D1

Accessibility & contrast

On white

12.96
#182C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C6D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C6D#FFFFFF#000000##FFFFFF
##182C6D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182c6d;
/* rgb */ color: rgb(24, 44, 109);
/* oklch */ color: oklch(32.1% 0.116 266.7);
Tailwind
colors: {
  custom: {
    50: '#636497',
    500: '#182c6d',
    950: '#000000',
  },
}
SCSS
$custom: #182c6d;
$custom-light: #636497;
$custom-dark: #000000;
JSON
{
  "hex": "#182c6d",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 225.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32057,
    "c": 0.11592,
    "h": 266.7
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#182C6D
secondary
#A38B3E
accent
#C041E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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