#182B5F#182B5F

#182B5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.096 H 265.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#182B5F
RGBrgb(24, 43, 95)
HSLhsl(224, 60%, 23%)
HSVhsv(224, 75%, 37%)
CMYKcmyk(74.7%, 54.7%, 0%, 62.7%)
CIE-LABlab(19.00, 12.32, -33.30)
CIE-LCHlch(19.00, 35.51, 290.31°)
OKLaboklab(30.62% -0.007 -0.0957)
OKLCHoklch(30.62% 0.096 265.8)
XYZxyz(3.3054, 2.7478, 11.1804)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B5F #5F4C18
analogous
#184E5F #182B5F #28185F
triadic
#182B5F #5F182B #2B5F18
tetradic
#182B5F #5F184E #5F4C18 #185F28
square
#182B5F #5F184E #5F4C18 #185F28
split-complementary
#182B5F #5F2818 #4E5F18
monochromatic
#060B18 #0C152E #182B5F #244190 #3157C1

Accessibility & contrast

On white

13.55
#182B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B5F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B5F#FFFFFF#000000##FFFFFF
##182B5F1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3261
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182b5f;
/* rgb */ color: rgb(24, 43, 95);
/* oklch */ color: oklch(30.6% 0.096 265.8);
Tailwind
colors: {
  custom: {
    50: '#5f638d',
    500: '#182b5f',
    950: '#000000',
  },
}
SCSS
$custom: #182b5f;
$custom-light: #5f638d;
$custom-dark: #000000;
JSON
{
  "hex": "#182b5f",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 223.944,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30617,
    "c": 0.09592,
    "h": 265.8
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#182B5F
secondary
#957E3D
accent
#B945E3
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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