#182D6B#182D6B

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

Color values

HEX#182D6B
RGBrgb(24, 45, 107)
HSLhsl(225, 63%, 26%)
HSVhsv(225, 78%, 42%)
CMYKcmyk(77.6%, 57.9%, 0%, 58%)
CIE-LABlab(20.57, 15.84, -38.62)
CIE-LCHlch(20.57, 41.75, 292.30°)
OKLaboklab(32.1% -0.0076 -0.1113)
OKLCHoklch(32.1% 0.112 266.1)
XYZxyz(3.9680, 3.1321, 14.3025)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D6B #6B5618
analogous
#18566B #182D6B #2C186B
triadic
#182D6B #6B182D #2D6B18
tetradic
#182D6B #6B1856 #6B5618 #186B2C
square
#182D6B #6B1856 #6B5618 #186B2C
split-complementary
#182D6B #6B2C18 #566B18
monochromatic
#060B19 #0D1839 #182D6B #23429D #2E57CF

Accessibility & contrast

On white

12.91
#182D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D6B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D6B#FFFFFF#000000##FFFFFF
##182D6B1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182d6b;
/* rgb */ color: rgb(24, 45, 107);
/* oklch */ color: oklch(32.1% 0.112 266.1);
Tailwind
colors: {
  custom: {
    50: '#626596',
    500: '#182d6b',
    950: '#000000',
  },
}
SCSS
$custom: #182d6b;
$custom-light: #626596;
$custom-dark: #000000;
JSON
{
  "hex": "#182d6b",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 224.819,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32101,
    "c": 0.11155,
    "h": 266.1
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#182D6B
secondary
#A1883E
accent
#BD41E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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