#182C6E#182C6E

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

Color values

HEX#182C6E
RGBrgb(24, 44, 110)
HSLhsl(226, 64%, 26%)
HSVhsv(226, 78%, 43%)
CMYKcmyk(78.2%, 60%, 0%, 56.9%)
CIE-LABlab(20.52, 17.80, -40.64)
CIE-LCHlch(20.52, 44.36, 293.66°)
OKLaboklab(32.15% -0.0066 -0.1172)
OKLCHoklch(32.15% 0.117 266.8)
XYZxyz(4.0909, 3.1209, 15.1356)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C6E #6E5A18
analogous
#18576E #182C6E #2F186E
triadic
#182C6E #6E182C #2C6E18
tetradic
#182C6E #6E1857 #6E5A18 #186E2F
square
#182C6E #6E1857 #6E5A18 #186E2F
split-complementary
#182C6E #6E2F18 #576E18
monochromatic
#050A19 #0D183C #182C6E #2340A0 #2F55D2

Accessibility & contrast

On white

12.93
#182C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C6E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C6E#FFFFFF#000000##FFFFFF
##182C6E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182c6e;
/* rgb */ color: rgb(24, 44, 110);
/* oklch */ color: oklch(32.1% 0.117 266.8);
Tailwind
colors: {
  custom: {
    50: '#636498',
    500: '#182c6e',
    950: '#000000',
  },
}
SCSS
$custom: #182c6e;
$custom-light: #636498;
$custom-dark: #000000;
JSON
{
  "hex": "#182c6e",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 226.047,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.11741,
    "h": 266.8
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#182C6E
secondary
#A48C3E
accent
#C041E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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