#182B5C#182B5C

#182B5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.091 H 265.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#182B5C
RGBrgb(24, 43, 92)
HSLhsl(223, 59%, 23%)
HSVhsv(223, 74%, 36%)
CMYKcmyk(73.9%, 53.3%, 0%, 63.9%)
CIE-LABlab(18.78, 11.08, -31.69)
CIE-LCHlch(18.78, 33.57, 289.27°)
OKLaboklab(30.37% -0.0074 -0.0909)
OKLCHoklch(30.37% 0.091 265.4)
XYZxyz(3.1717, 2.6943, 10.4760)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B5C #5C4918
analogous
#184D5C #182B5C #27185C
triadic
#182B5C #5C182B #2B5C18
tetradic
#182B5C #5C184D #5C4918 #185C27
square
#182B5C #5C184D #5C4918 #185C27
split-complementary
#182B5C #5C2718 #4D5C18
monochromatic
#060B18 #0B142B #182B5C #25428D #3158BD

Accessibility & contrast

On white

13.65
#182B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B5C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B5C#FFFFFF#000000##FFFFFF
##182B5C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182b5c;
/* rgb */ color: rgb(24, 43, 92);
/* oklch */ color: oklch(30.4% 0.091 265.4);
Tailwind
colors: {
  custom: {
    50: '#5e638a',
    500: '#182b5c',
    950: '#000000',
  },
}
SCSS
$custom: #182b5c;
$custom-light: #5e638a;
$custom-dark: #000000;
JSON
{
  "hex": "#182b5c",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 223.235,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3037,
    "c": 0.09122,
    "h": 265.4
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#182B5C
secondary
#937B3D
accent
#B646E2
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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