#182D6F#182D6F

#182D6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.118 H 266.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#182D6F
RGBrgb(24, 45, 111)
HSLhsl(226, 64%, 26%)
HSVhsv(226, 78%, 44%)
CMYKcmyk(78.4%, 59.5%, 0%, 56.5%)
CIE-LABlab(20.90, 17.49, -40.67)
CIE-LCHlch(20.90, 44.27, 293.28°)
OKLaboklab(32.46% -0.0074 -0.1173)
OKLCHoklch(32.46% 0.118 266.4)
XYZxyz(4.1833, 3.2182, 15.4365)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D6F #6F5A18
analogous
#18596F #182D6F #2F186F
triadic
#182D6F #6F182D #2D6F18
tetradic
#182D6F #6F1859 #6F5A18 #186F2F
square
#182D6F #6F1859 #6F5A18 #186F2F
split-complementary
#182D6F #6F2F18 #596F18
monochromatic
#050A19 #0D193D #182D6F #2341A1 #2F57D2

Accessibility & contrast

On white

12.78
#182D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D6F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D6F#FFFFFF#000000##FFFFFF
##182D6F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.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: #182d6f;
/* rgb */ color: rgb(24, 45, 111);
/* oklch */ color: oklch(32.5% 0.118 266.4);
Tailwind
colors: {
  custom: {
    50: '#636599',
    500: '#182d6f',
    950: '#000000',
  },
}
SCSS
$custom: #182d6f;
$custom-light: #636599;
$custom-dark: #000000;
JSON
{
  "hex": "#182d6f",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 225.517,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32456,
    "c": 0.11754,
    "h": 266.4
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#182D6F
secondary
#A58C3E
accent
#BF40E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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