#182F5D#182F5D

#182F5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.087 H 262.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#182F5D
RGBrgb(24, 47, 93)
HSLhsl(220, 59%, 23%)
HSVhsv(220, 74%, 36%)
CMYKcmyk(74.2%, 49.5%, 0%, 63.5%)
CIE-LABlab(20.11, 8.58, -30.20)
CIE-LCHlch(20.11, 31.39, 285.85°)
OKLaboklab(31.42% -0.0114 -0.0865)
OKLCHoklch(31.42% 0.087 262.5)
XYZxyz(3.3683, 3.0172, 10.7587)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F5D #5D4618
analogous
#18515D #182F5D #23185D
triadic
#182F5D #5D182F #2F5D18
tetradic
#182F5D #5D1851 #5D4618 #185D23
square
#182F5D #5D1851 #5D4618 #185D23
split-complementary
#182F5D #5D2318 #515D18
monochromatic
#060C18 #0B162C #182F5D #25488E #3160BE

Accessibility & contrast

On white

13.10
#182F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182F5D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F5D#FFFFFF#000000##FFFFFF
##182F5D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#092E5C
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182f5d;
/* rgb */ color: rgb(24, 47, 93);
/* oklch */ color: oklch(31.4% 0.087 262.5);
Tailwind
colors: {
  custom: {
    50: '#5e678b',
    500: '#182f5d',
    950: '#000000',
  },
}
SCSS
$custom: #182f5d;
$custom-light: #5e678b;
$custom-dark: #000000;
JSON
{
  "hex": "#182f5d",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 220,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31417,
    "c": 0.08721,
    "h": 262.5
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#182F5D
secondary
#93773D
accent
#AE46E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #182F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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