#182F6A#182F6A

#182F6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.107 H 264.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#182F6A
RGBrgb(24, 47, 106)
HSLhsl(223, 63%, 25%)
HSVhsv(223, 77%, 42%)
CMYKcmyk(77.4%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.08, 13.98, -37.13)
CIE-LCHlch(21.08, 39.68, 290.63°)
OKLaboklab(32.47% -0.0095 -0.1069)
OKLCHoklch(32.47% 0.107 264.9)
XYZxyz(3.9938, 3.2674, 14.0531)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F6A #6A5318
analogous
#18586A #182F6A #2A186A
triadic
#182F6A #6A182F #2F6A18
tetradic
#182F6A #6A1858 #6A5318 #186A2A
square
#182F6A #6A1858 #6A5318 #186A2A
split-complementary
#182F6A #6A2A18 #586A18
monochromatic
#060B19 #0D1938 #182F6A #23459C #2F5BCE

Accessibility & contrast

On white

12.70
#182F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F6A
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F6A#FFFFFF#000000##FFFFFF
##182F6A1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182f6a;
/* rgb */ color: rgb(24, 47, 106);
/* oklch */ color: oklch(32.5% 0.107 264.9);
Tailwind
colors: {
  custom: {
    50: '#626795',
    500: '#182f6a',
    950: '#000000',
  },
}
SCSS
$custom: #182f6a;
$custom-light: #626795;
$custom-dark: #000000;
JSON
{
  "hex": "#182f6a",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 223.171,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.10729,
    "h": 264.9
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#182F6A
secondary
#A0843E
accent
#B842E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #182F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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