#182F5B#182F5B

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

Color values

HEX#182F5B
RGBrgb(24, 47, 91)
HSLhsl(219, 58%, 23%)
HSVhsv(219, 74%, 36%)
CMYKcmyk(73.6%, 48.4%, 0%, 64.3%)
CIE-LABlab(19.97, 7.75, -29.10)
CIE-LCHlch(19.97, 30.12, 284.91°)
OKLaboklab(31.26% -0.0117 -0.0832)
OKLCHoklch(31.26% 0.084 262)
XYZxyz(3.2809, 2.9822, 10.2982)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F5B #5B4418
analogous
#18505B #182F5B #22185B
triadic
#182F5B #5B182F #2F5B18
tetradic
#182F5B #5B1850 #5B4418 #185B22
square
#182F5B #5B1850 #5B4418 #185B22
split-complementary
#182F5B #5B2218 #505B18
monochromatic
#060D18 #0B162B #182F5B #25488B #3261BC

Accessibility & contrast

On white

13.15
#182F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F5B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F5B#FFFFFF#000000##FFFFFF
##182F5B1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345D
Deuteranopia (green-blind)
#0D2D5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f5b;
/* rgb */ color: rgb(24, 47, 91);
/* oklch */ color: oklch(31.3% 0.084 262.0);
Tailwind
colors: {
  custom: {
    50: '#5e678a',
    500: '#182f5b',
    950: '#000000',
  },
}
SCSS
$custom: #182f5b;
$custom-light: #5e678a;
$custom-dark: #000000;
JSON
{
  "hex": "#182f5b",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 219.403,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.08407,
    "h": 262
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#182F5B
secondary
#92753D
accent
#AC46E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #182F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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