#182D63#182D63

#182D63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.099 H 265.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#182D63
RGBrgb(24, 45, 99)
HSLhsl(223, 61%, 24%)
HSVhsv(223, 76%, 39%)
CMYKcmyk(75.8%, 54.5%, 0%, 61.2%)
CIE-LABlab(19.93, 12.53, -34.44)
CIE-LCHlch(19.93, 36.65, 289.99°)
OKLaboklab(31.42% -0.0084 -0.099)
OKLCHoklch(31.42% 0.099 265.1)
XYZxyz(3.5664, 2.9714, 12.1876)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D63 #634E18
analogous
#185363 #182D63 #291863
triadic
#182D63 #63182D #2D6318
tetradic
#182D63 #631853 #634E18 #186329
square
#182D63 #631853 #634E18 #186329
split-complementary
#182D63 #632918 #536318
monochromatic
#060B19 #0C1732 #182D63 #244394 #305AC6

Accessibility & contrast

On white

13.17
#182D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D63
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D63#FFFFFF#000000##FFFFFF
##182D631.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3465
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182d63;
/* rgb */ color: rgb(24, 45, 99);
/* oklch */ color: oklch(31.4% 0.099 265.1);
Tailwind
colors: {
  custom: {
    50: '#606590',
    500: '#182d63',
    950: '#000000',
  },
}
SCSS
$custom: #182d63;
$custom-light: #606590;
$custom-dark: #000000;
JSON
{
  "hex": "#182d63",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 223.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.09934,
    "h": 265.1
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#182D63
secondary
#99803E
accent
#B744E4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #182D63

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

Preview Lab → · Contrast checker → · Palette generator →

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