#182D61#182D61

#182D61 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.096 H 264.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#182D61
RGBrgb(24, 45, 97)
HSLhsl(223, 60%, 24%)
HSVhsv(223, 75%, 38%)
CMYKcmyk(75.3%, 53.6%, 0%, 62%)
CIE-LABlab(19.78, 11.69, -33.37)
CIE-LCHlch(19.78, 35.36, 289.31°)
OKLaboklab(31.25% -0.0087 -0.0958)
OKLCHoklch(31.25% 0.096 264.8)
XYZxyz(3.4720, 2.9337, 11.6902)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D61 #614C18
analogous
#185161 #182D61 #271861
triadic
#182D61 #61182D #2D6118
tetradic
#182D61 #611851 #614C18 #186127
square
#182D61 #611851 #614C18 #186127
split-complementary
#182D61 #612718 #516118
monochromatic
#060B19 #0C1630 #182D61 #244492 #305BC3

Accessibility & contrast

On white

13.23
#182D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D61
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D61#FFFFFF#000000##FFFFFF
##182D611.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3363
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182d61;
/* rgb */ color: rgb(24, 45, 97);
/* oklch */ color: oklch(31.3% 0.096 264.8);
Tailwind
colors: {
  custom: {
    50: '#60658e',
    500: '#182d61',
    950: '#000000',
  },
}
SCSS
$custom: #182d61;
$custom-light: #60658e;
$custom-dark: #000000;
JSON
{
  "hex": "#182d61",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 222.74,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31253,
    "c": 0.09623,
    "h": 264.8
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#182D61
secondary
#977D3D
accent
#B644E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182D61

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

Preview Lab → · Contrast checker → · Palette generator →

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