#182F61#182F61

#182F61 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.093 H 263.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#182F61
RGBrgb(24, 47, 97)
HSLhsl(221, 60%, 24%)
HSVhsv(221, 75%, 38%)
CMYKcmyk(75.3%, 51.5%, 0%, 62%)
CIE-LABlab(20.40, 10.24, -32.37)
CIE-LCHlch(20.40, 33.95, 287.55°)
OKLaboklab(31.73% -0.0107 -0.0928)
OKLCHoklch(31.73% 0.093 263.4)
XYZxyz(3.5501, 3.0899, 11.7163)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F61 #614A18
analogous
#185361 #182F61 #251861
triadic
#182F61 #61182F #2F6118
tetradic
#182F61 #611853 #614A18 #186125
square
#182F61 #611853 #614A18 #186125
split-complementary
#182F61 #612518 #536118
monochromatic
#060C19 #0C1730 #182F61 #244792 #305FC3

Accessibility & contrast

On white

12.98
#182F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F61
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F61#FFFFFF#000000##FFFFFF
##182F611.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143563
Deuteranopia (green-blind)
#022E60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182f61;
/* rgb */ color: rgb(24, 47, 97);
/* oklch */ color: oklch(31.7% 0.093 263.4);
Tailwind
colors: {
  custom: {
    50: '#5f678e',
    500: '#182f61',
    950: '#000000',
  },
}
SCSS
$custom: #182f61;
$custom-light: #5f678e;
$custom-dark: #000000;
JSON
{
  "hex": "#182f61",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 221.096,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3173,
    "c": 0.09346,
    "h": 263.4
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#182F61
secondary
#977B3D
accent
#B144E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #182F61

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

Preview Lab → · Contrast checker → · Palette generator →

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