#182B5E#182B5E

#182B5E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.094 H 265.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#182B5E
RGBrgb(24, 43, 94)
HSLhsl(224, 59%, 23%)
HSVhsv(224, 74%, 37%)
CMYKcmyk(74.5%, 54.3%, 0%, 63.1%)
CIE-LABlab(18.93, 11.91, -32.77)
CIE-LCHlch(18.93, 34.86, 289.97°)
OKLaboklab(30.53% -0.0071 -0.0941)
OKLCHoklch(30.53% 0.094 265.7)
XYZxyz(3.2602, 2.7298, 10.9426)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B5E #5E4B18
analogous
#184E5E #182B5E #28185E
triadic
#182B5E #5E182B #2B5E18
tetradic
#182B5E #5E184E #5E4B18 #185E28
square
#182B5E #5E184E #5E4B18 #185E28
split-complementary
#182B5E #5E2818 #4E5E18
monochromatic
#060B18 #0C152D #182B5E #24418F #3158C0

Accessibility & contrast

On white

13.58
#182B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B5E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B5E#FFFFFF#000000##FFFFFF
##182B5E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182b5e;
/* rgb */ color: rgb(24, 43, 94);
/* oklch */ color: oklch(30.5% 0.094 265.7);
Tailwind
colors: {
  custom: {
    50: '#5f638c',
    500: '#182b5e',
    950: '#000000',
  },
}
SCSS
$custom: #182b5e;
$custom-light: #5f638c;
$custom-dark: #000000;
JSON
{
  "hex": "#182b5e",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 223.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.09436,
    "h": 265.7
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#182B5E
secondary
#947D3D
accent
#B845E3
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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