#182F62#182F62

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

Color values

HEX#182F62
RGBrgb(24, 47, 98)
HSLhsl(221, 61%, 24%)
HSVhsv(221, 76%, 38%)
CMYKcmyk(75.5%, 52%, 0%, 61.6%)
CIE-LABlab(20.47, 10.65, -32.91)
CIE-LCHlch(20.47, 34.59, 287.94°)
OKLaboklab(31.81% -0.0105 -0.0944)
OKLCHoklch(31.81% 0.095 263.6)
XYZxyz(3.5970, 3.1087, 11.9634)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F62 #624B18
analogous
#185462 #182F62 #261862
triadic
#182F62 #62182F #2F6218
tetradic
#182F62 #621854 #624B18 #186226
square
#182F62 #621854 #624B18 #186226
split-complementary
#182F62 #622618 #546218
monochromatic
#060C19 #0C1731 #182F62 #244793 #305EC4

Accessibility & contrast

On white

12.95
#182F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F62
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F62#FFFFFF#000000##FFFFFF
##182F621.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133564
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182f62;
/* rgb */ color: rgb(24, 47, 98);
/* oklch */ color: oklch(31.8% 0.095 263.6);
Tailwind
colors: {
  custom: {
    50: '#60678f',
    500: '#182f62',
    950: '#000000',
  },
}
SCSS
$custom: #182f62;
$custom-light: #60678f;
$custom-dark: #000000;
JSON
{
  "hex": "#182f62",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 221.351,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.09501,
    "h": 263.6
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#182F62
secondary
#987C3E
accent
#B244E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #182F62

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

Preview Lab → · Contrast checker → · Palette generator →

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