#182B5A#182B5A

#182B5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.088 H 265.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#182B5A
RGBrgb(24, 43, 90)
HSLhsl(223, 58%, 22%)
HSVhsv(223, 73%, 35%)
CMYKcmyk(73.3%, 52.2%, 0%, 64.7%)
CIE-LABlab(18.63, 10.25, -30.60)
CIE-LCHlch(18.63, 32.27, 288.52°)
OKLaboklab(30.21% -0.0076 -0.0877)
OKLCHoklch(30.21% 0.088 265)
XYZxyz(3.0854, 2.6598, 10.0217)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B5A #5A4718
analogous
#184C5A #182B5A #26185A
triadic
#182B5A #5A182B #2B5A18
tetradic
#182B5A #5A184C #5A4718 #185A26
square
#182B5A #5A184C #5A4718 #185A26
split-complementary
#182B5A #5A2618 #4C5A18
monochromatic
#060C18 #0B142A #182B5A #25428A #3259BB

Accessibility & contrast

On white

13.71
#182B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B5A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B5A#FFFFFF#000000##FFFFFF
##182B5A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315C
Deuteranopia (green-blind)
#032A59
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182b5a;
/* rgb */ color: rgb(24, 43, 90);
/* oklch */ color: oklch(30.2% 0.088 265.0);
Tailwind
colors: {
  custom: {
    50: '#5e6389',
    500: '#182b5a',
    950: '#000000',
  },
}
SCSS
$custom: #182b5a;
$custom-light: #5e6389;
$custom-dark: #000000;
JSON
{
  "hex": "#182b5a",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 222.727,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30209,
    "c": 0.08805,
    "h": 265
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#182B5A
secondary
#91793D
accent
#B547E1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #182B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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