#182F5C#182F5C

#182F5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.086 H 262.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#182F5C
RGBrgb(24, 47, 92)
HSLhsl(220, 59%, 23%)
HSVhsv(220, 74%, 36%)
CMYKcmyk(73.9%, 48.9%, 0%, 63.9%)
CIE-LABlab(20.04, 8.16, -29.65)
CIE-LCHlch(20.04, 30.75, 285.39°)
OKLaboklab(31.34% -0.0115 -0.0849)
OKLCHoklch(31.34% 0.086 262.2)
XYZxyz(3.3243, 2.9996, 10.5269)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F5C #5C4518
analogous
#18515C #182F5C #23185C
triadic
#182F5C #5C182F #2F5C18
tetradic
#182F5C #5C1851 #5C4518 #185C23
square
#182F5C #5C1851 #5C4518 #185C23
split-complementary
#182F5C #5C2318 #515C18
monochromatic
#060C18 #0B162B #182F5C #25488D #3161BD

Accessibility & contrast

On white

13.13
#182F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F5C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F5C#FFFFFF#000000##FFFFFF
##182F5C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345E
Deuteranopia (green-blind)
#0B2D5B
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f5c;
/* rgb */ color: rgb(24, 47, 92);
/* oklch */ color: oklch(31.3% 0.086 262.2);
Tailwind
colors: {
  custom: {
    50: '#5e678a',
    500: '#182f5c',
    950: '#000000',
  },
}
SCSS
$custom: #182f5c;
$custom-light: #5e678a;
$custom-dark: #000000;
JSON
{
  "hex": "#182f5c",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 219.706,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.08564,
    "h": 262.2
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#182F5C
secondary
#93763D
accent
#AD46E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #182F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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