#182D68#182D68

#182D68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.107 H 265.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#182D68
RGBrgb(24, 45, 104)
HSLhsl(224, 63%, 25%)
HSVhsv(224, 77%, 41%)
CMYKcmyk(76.9%, 56.7%, 0%, 59.2%)
CIE-LABlab(20.32, 14.60, -37.07)
CIE-LCHlch(20.32, 39.84, 291.50°)
OKLaboklab(31.84% -0.0079 -0.1067)
OKLCHoklch(31.84% 0.107 265.8)
XYZxyz(3.8129, 3.0700, 13.4856)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D68 #685318
analogous
#185568 #182D68 #2B1868
triadic
#182D68 #68182D #2D6818
tetradic
#182D68 #681855 #685318 #18682B
square
#182D68 #681855 #685318 #18682B
split-complementary
#182D68 #682B18 #556818
monochromatic
#060B19 #0D1736 #182D68 #23439A #2F58CB

Accessibility & contrast

On white

13.01
#182D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D68
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D68#FFFFFF#000000##FFFFFF
##182D681.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02356A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182d68;
/* rgb */ color: rgb(24, 45, 104);
/* oklch */ color: oklch(31.8% 0.107 265.8);
Tailwind
colors: {
  custom: {
    50: '#616594',
    500: '#182d68',
    950: '#000000',
  },
}
SCSS
$custom: #182d68;
$custom-light: #616594;
$custom-dark: #000000;
JSON
{
  "hex": "#182d68",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 224.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31841,
    "c": 0.10701,
    "h": 265.8
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#182D68
secondary
#9E853E
accent
#BB42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182D68

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

Preview Lab → · Contrast checker → · Palette generator →

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