#182C6B#182C6B

#182C6B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.113 H 266.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#182C6B
RGBrgb(24, 44, 107)
HSLhsl(226, 63%, 26%)
HSVhsv(226, 78%, 42%)
CMYKcmyk(77.6%, 58.9%, 0%, 58%)
CIE-LABlab(20.27, 16.57, -39.10)
CIE-LCHlch(20.27, 42.47, 292.96°)
OKLaboklab(31.88% -0.0068 -0.1127)
OKLCHoklch(31.88% 0.113 266.5)
XYZxyz(3.9303, 3.0567, 14.2899)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C6B #6B5718
analogous
#18556B #182C6B #2D186B
triadic
#182C6B #6B182C #2C6B18
tetradic
#182C6B #6B1855 #6B5718 #186B2D
square
#182C6B #6B1855 #6B5718 #186B2D
split-complementary
#182C6B #6B2D18 #556B18
monochromatic
#060A19 #0D1739 #182C6B #23419D #2E55CF

Accessibility & contrast

On white

13.03
#182C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C6B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C6B#FFFFFF#000000##FFFFFF
##182C6B1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182c6b;
/* rgb */ color: rgb(24, 44, 107);
/* oklch */ color: oklch(31.9% 0.113 266.5);
Tailwind
colors: {
  custom: {
    50: '#626496',
    500: '#182c6b',
    950: '#000000',
  },
}
SCSS
$custom: #182c6b;
$custom-light: #626496;
$custom-dark: #000000;
JSON
{
  "hex": "#182c6b",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 225.542,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31879,
    "c": 0.11292,
    "h": 266.5
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#182C6B
secondary
#A1893E
accent
#BF41E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #182C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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