#182D66#182D66

#182D66 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.104 H 265.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#182D66
RGBrgb(24, 45, 102)
HSLhsl(224, 62%, 25%)
HSVhsv(224, 76%, 40%)
CMYKcmyk(76.5%, 55.9%, 0%, 60%)
CIE-LABlab(20.16, 13.77, -36.02)
CIE-LCHlch(20.16, 38.57, 290.92°)
OKLaboklab(31.67% -0.0081 -0.1036)
OKLCHoklch(31.67% 0.104 265.5)
XYZxyz(3.7125, 3.0299, 12.9570)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D66 #665118
analogous
#185466 #182D66 #2A1866
triadic
#182D66 #66182D #2D6618
tetradic
#182D66 #661854 #665118 #18662A
square
#182D66 #661854 #665118 #18662A
split-complementary
#182D66 #662A18 #546618
monochromatic
#060B19 #0C1734 #182D66 #244398 #2F59C9

Accessibility & contrast

On white

13.08
#182D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D66
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D66#FFFFFF#000000##FFFFFF
##182D661.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063468
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182d66;
/* rgb */ color: rgb(24, 45, 102);
/* oklch */ color: oklch(31.7% 0.104 265.5);
Tailwind
colors: {
  custom: {
    50: '#616592',
    500: '#182d66',
    950: '#000000',
  },
}
SCSS
$custom: #182d66;
$custom-light: #616592;
$custom-dark: #000000;
JSON
{
  "hex": "#182d66",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 223.846,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3167,
    "c": 0.10396,
    "h": 265.5
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#182D66
secondary
#9C833E
accent
#B943E5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #182D66

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

Preview Lab → · Contrast checker → · Palette generator →

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