#182C6F#182C6F

#182C6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.119 H 266.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#182C6F
RGBrgb(24, 44, 111)
HSLhsl(226, 64%, 26%)
HSVhsv(226, 78%, 44%)
CMYKcmyk(78.4%, 60.4%, 0%, 56.5%)
CIE-LABlab(20.61, 18.21, -41.14)
CIE-LCHlch(20.61, 44.99, 293.88°)
OKLaboklab(32.24% -0.0066 -0.1187)
OKLCHoklch(32.24% 0.119 266.8)
XYZxyz(4.1456, 3.1428, 15.4240)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C6F #6F5B18
analogous
#18586F #182C6F #30186F
triadic
#182C6F #6F182C #2C6F18
tetradic
#182C6F #6F1858 #6F5B18 #186F30
square
#182C6F #6F1858 #6F5B18 #186F30
split-complementary
#182C6F #6F3018 #586F18
monochromatic
#050A19 #0D183D #182C6F #2340A1 #2F55D2

Accessibility & contrast

On white

12.89
#182C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C6F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C6F#FFFFFF#000000##FFFFFF
##182C6F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182c6f;
/* rgb */ color: rgb(24, 44, 111);
/* oklch */ color: oklch(32.2% 0.119 266.8);
Tailwind
colors: {
  custom: {
    50: '#636499',
    500: '#182c6f',
    950: '#000000',
  },
}
SCSS
$custom: #182c6f;
$custom-light: #636499;
$custom-dark: #000000;
JSON
{
  "hex": "#182c6f",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 226.207,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32238,
    "c": 0.11889,
    "h": 266.8
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#182C6F
secondary
#A58D3E
accent
#C140E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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