#182D6E#182D6E

#182D6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.116 H 266.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#182D6E
RGBrgb(24, 45, 110)
HSLhsl(225, 64%, 26%)
HSVhsv(225, 78%, 43%)
CMYKcmyk(78.2%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.81, 17.08, -40.16)
CIE-LCHlch(20.81, 43.64, 293.04°)
OKLaboklab(32.37% -0.0074 -0.1158)
OKLCHoklch(32.37% 0.116 266.3)
XYZxyz(4.1286, 3.1963, 15.1482)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D6E #6E5918
analogous
#18586E #182D6E #2E186E
triadic
#182D6E #6E182D #2D6E18
tetradic
#182D6E #6E1858 #6E5918 #186E2E
square
#182D6E #6E1858 #6E5918 #186E2E
split-complementary
#182D6E #6E2E18 #586E18
monochromatic
#050A19 #0D183C #182D6E #2342A0 #2F57D2

Accessibility & contrast

On white

12.81
#182D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D6E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D6E#FFFFFF#000000##FFFFFF
##182D6E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182d6e;
/* rgb */ color: rgb(24, 45, 110);
/* oklch */ color: oklch(32.4% 0.116 266.3);
Tailwind
colors: {
  custom: {
    50: '#636598',
    500: '#182d6e',
    950: '#000000',
  },
}
SCSS
$custom: #182d6e;
$custom-light: #636598;
$custom-dark: #000000;
JSON
{
  "hex": "#182d6e",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 225.349,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32367,
    "c": 0.11605,
    "h": 266.3
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#182D6E
secondary
#A48B3E
accent
#BF41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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