#182A60#182A60

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

Color values

HEX#182A60
RGBrgb(24, 42, 96)
HSLhsl(225, 60%, 24%)
HSVhsv(225, 75%, 38%)
CMYKcmyk(75%, 56.3%, 0%, 62.4%)
CIE-LABlab(18.78, 13.47, -34.33)
CIE-LCHlch(18.78, 36.88, 291.42°)
OKLaboklab(30.47% -0.0059 -0.0987)
OKLCHoklch(30.47% 0.099 266.6)
XYZxyz(3.3152, 2.6943, 11.4094)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A60 #604E18
analogous
#184E60 #182A60 #2A1860
triadic
#182A60 #60182A #2A6018
tetradic
#182A60 #60184E #604E18 #18602A
square
#182A60 #60184E #604E18 #18602A
split-complementary
#182A60 #602A18 #4E6018
monochromatic
#060B18 #0C152F #182A60 #243F91 #3055C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182A60#FFFFFF#000000##FFFFFF
##182A601.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)
#063162
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182a60;
/* rgb */ color: rgb(24, 42, 96);
/* oklch */ color: oklch(30.5% 0.099 266.6);
Tailwind
colors: {
  custom: {
    50: '#60638e',
    500: '#182a60',
    950: '#000000',
  },
}
SCSS
$custom: #182a60;
$custom-light: #60638e;
$custom-dark: #000000;
JSON
{
  "hex": "#182a60",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 225,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30469,
    "c": 0.09889,
    "h": 266.6
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#182A60
secondary
#96803D
accent
#BC45E3
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182A60

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

Preview Lab → · Contrast checker → · Palette generator →

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