#182D5F#182D5F

#182D5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.093 H 264.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#182D5F
RGBrgb(24, 45, 95)
HSLhsl(222, 60%, 23%)
HSVhsv(222, 75%, 37%)
CMYKcmyk(74.7%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.63, 10.86, -32.30)
CIE-LCHlch(19.63, 34.08, 288.59°)
OKLaboklab(31.09% -0.009 -0.0927)
OKLCHoklch(31.09% 0.093 264.5)
XYZxyz(3.3799, 2.8968, 11.2053)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D5F #5F4A18
analogous
#18505F #182D5F #26185F
triadic
#182D5F #5F182D #2D5F18
tetradic
#182D5F #5F1850 #5F4A18 #185F26
square
#182D5F #5F1850 #5F4A18 #185F26
split-complementary
#182D5F #5F2618 #505F18
monochromatic
#060C18 #0C162E #182D5F #244490 #315BC1

Accessibility & contrast

On white

13.30
#182D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D5F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D5F#FFFFFF#000000##FFFFFF
##182D5F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113361
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d5f;
/* rgb */ color: rgb(24, 45, 95);
/* oklch */ color: oklch(31.1% 0.093 264.5);
Tailwind
colors: {
  custom: {
    50: '#5f658d',
    500: '#182d5f',
    950: '#000000',
  },
}
SCSS
$custom: #182d5f;
$custom-light: #5f658d;
$custom-dark: #000000;
JSON
{
  "hex": "#182d5f",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 222.254,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31091,
    "c": 0.09311,
    "h": 264.5
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#182D5F
secondary
#957B3D
accent
#B445E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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