#182F60#182F60

#182F60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.092 H 263.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#182F60
RGBrgb(24, 47, 96)
HSLhsl(221, 60%, 24%)
HSVhsv(221, 75%, 38%)
CMYKcmyk(75%, 51%, 0%, 62.4%)
CIE-LABlab(20.33, 9.82, -31.83)
CIE-LCHlch(20.33, 33.31, 287.15°)
OKLaboklab(31.65% -0.0108 -0.0913)
OKLCHoklch(31.65% 0.092 263.2)
XYZxyz(3.5038, 3.0714, 11.4722)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F60 #604918
analogous
#185360 #182F60 #251860
triadic
#182F60 #60182F #2F6018
tetradic
#182F60 #601853 #604918 #186025
square
#182F60 #601853 #604918 #186025
split-complementary
#182F60 #602518 #536018
monochromatic
#060C18 #0C172F #182F60 #244791 #305FC2

Accessibility & contrast

On white

13.01
#182F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F60
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F60#FFFFFF#000000##FFFFFF
##182F601.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#042E5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182f60;
/* rgb */ color: rgb(24, 47, 96);
/* oklch */ color: oklch(31.6% 0.092 263.2);
Tailwind
colors: {
  custom: {
    50: '#5f678d',
    500: '#182f60',
    950: '#000000',
  },
}
SCSS
$custom: #182f60;
$custom-light: #5f678d;
$custom-dark: #000000;
JSON
{
  "hex": "#182f60",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 220.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3165,
    "c": 0.0919,
    "h": 263.2
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#182F60
secondary
#967A3D
accent
#B145E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #182F60

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

Preview Lab → · Contrast checker → · Palette generator →

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