#182F6C#182F6C

#182F6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.110 H 265.2°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#182F6C
RGBrgb(24, 47, 108)
HSLhsl(224, 64%, 26%)
HSVhsv(224, 78%, 42%)
CMYKcmyk(77.8%, 56.5%, 0%, 57.6%)
CIE-LABlab(21.24, 14.81, -38.17)
CIE-LCHlch(21.24, 40.94, 291.21°)
OKLaboklab(32.64% -0.0093 -0.1099)
OKLCHoklch(32.64% 0.11 265.2)
XYZxyz(4.0990, 3.3095, 14.6072)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F6C #6C5518
analogous
#18596C #182F6C #2B186C
triadic
#182F6C #6C182F #2F6C18
tetradic
#182F6C #6C1859 #6C5518 #186C2B
square
#182F6C #6C1859 #6C5518 #186C2B
split-complementary
#182F6C #6C2B18 #596C18
monochromatic
#060B19 #0D193A #182F6C #23459E #2E5BD0

Accessibility & contrast

On white

12.64
#182F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F6C
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F6C#FFFFFF#000000##FFFFFF
##182F6C1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02376E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182f6c;
/* rgb */ color: rgb(24, 47, 108);
/* oklch */ color: oklch(32.6% 0.110 265.2);
Tailwind
colors: {
  custom: {
    50: '#626797',
    500: '#182f6c',
    950: '#000000',
  },
}
SCSS
$custom: #182f6c;
$custom-light: #626797;
$custom-dark: #000000;
JSON
{
  "hex": "#182f6c",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 223.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32639,
    "c": 0.11032,
    "h": 265.2
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#182F6C
secondary
#A2863E
accent
#B941E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #182F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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