#182B5B#182B5B

#182B5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.090 H 265.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#182B5B
RGBrgb(24, 43, 91)
HSLhsl(223, 58%, 23%)
HSVhsv(223, 74%, 36%)
CMYKcmyk(73.6%, 52.7%, 0%, 64.3%)
CIE-LABlab(18.70, 10.66, -31.14)
CIE-LCHlch(18.70, 32.92, 288.90°)
OKLaboklab(30.29% -0.0075 -0.0893)
OKLCHoklch(30.29% 0.09 265.2)
XYZxyz(3.1282, 2.6770, 10.2473)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B5B #5B4818
analogous
#184D5B #182B5B #26185B
triadic
#182B5B #5B182B #2B5B18
tetradic
#182B5B #5B184D #5B4818 #185B26
square
#182B5B #5B184D #5B4818 #185B26
split-complementary
#182B5B #5B2618 #4D5B18
monochromatic
#060B18 #0B142B #182B5B #25428B #3259BC

Accessibility & contrast

On white

13.68
#182B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B5B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B5B#FFFFFF#000000##FFFFFF
##182B5B1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315D
Deuteranopia (green-blind)
#012B5A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182b5b;
/* rgb */ color: rgb(24, 43, 91);
/* oklch */ color: oklch(30.3% 0.090 265.2);
Tailwind
colors: {
  custom: {
    50: '#5e638a',
    500: '#182b5b',
    950: '#000000',
  },
}
SCSS
$custom: #182b5b;
$custom-light: #5e638a;
$custom-dark: #000000;
JSON
{
  "hex": "#182b5b",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 222.985,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30289,
    "c": 0.08963,
    "h": 265.2
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#182B5B
secondary
#927A3D
accent
#B546E1
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #182B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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