#182A58#182A58

#182A58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.086 H 265.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#182A58
RGBrgb(24, 42, 88)
HSLhsl(223, 57%, 22%)
HSVhsv(223, 73%, 35%)
CMYKcmyk(72.7%, 52.3%, 0%, 65.5%)
CIE-LABlab(18.16, 10.15, -30.01)
CIE-LCHlch(18.16, 31.68, 288.69°)
OKLaboklab(29.81% -0.0069 -0.086)
OKLCHoklch(29.81% 0.086 265.4)
XYZxyz(2.9655, 2.5544, 9.5674)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A58 #584618
analogous
#184A58 #182A58 #261858
triadic
#182A58 #58182A #2A5818
tetradic
#182A58 #58184A #584618 #185826
square
#182A58 #58184A #584618 #185826
split-complementary
#182A58 #582618 #4A5818
monochromatic
#070B18 #0B1328 #182A58 #254188 #3258B8

Accessibility & contrast

On white

13.90
#182A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A58
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A58#FFFFFF#000000##FFFFFF
##182A581.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F5A
Deuteranopia (green-blind)
#032A57
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182a58;
/* rgb */ color: rgb(24, 42, 88);
/* oklch */ color: oklch(29.8% 0.086 265.4);
Tailwind
colors: {
  custom: {
    50: '#5e6387',
    500: '#182a58',
    950: '#000000',
  },
}
SCSS
$custom: #182a58;
$custom-light: #5e6387;
$custom-dark: #000000;
JSON
{
  "hex": "#182a58",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 223.125,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.08629,
    "h": 265.4
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#182A58
secondary
#8F783D
accent
#B547E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182A58

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

Preview Lab → · Contrast checker → · Palette generator →

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