#182A61#182A61

#182A61 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.100 H 266.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#182A61
RGBrgb(24, 42, 97)
HSLhsl(225, 60%, 24%)
HSVhsv(225, 75%, 38%)
CMYKcmyk(75.3%, 56.7%, 0%, 62%)
CIE-LABlab(18.85, 13.89, -34.86)
CIE-LCHlch(18.85, 37.53, 291.72°)
OKLaboklab(30.55% -0.0058 -0.1003)
OKLCHoklch(30.55% 0.1 266.7)
XYZxyz(3.3616, 2.7128, 11.6534)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A61 #614F18
analogous
#184E61 #182A61 #2A1861
triadic
#182A61 #61182A #2A6118
tetradic
#182A61 #61184E #614F18 #18612A
square
#182A61 #61184E #614F18 #18612A
split-complementary
#182A61 #612A18 #4E6118
monochromatic
#060B19 #0C1530 #182A61 #243F92 #3054C3

Accessibility & contrast

On white

13.61
#182A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A61
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A61#FFFFFF#000000##FFFFFF
##182A611.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043163
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182a61;
/* rgb */ color: rgb(24, 42, 97);
/* oklch */ color: oklch(30.6% 0.100 266.7);
Tailwind
colors: {
  custom: {
    50: '#60638e',
    500: '#182a61',
    950: '#000000',
  },
}
SCSS
$custom: #182a61;
$custom-light: #60638e;
$custom-dark: #000000;
JSON
{
  "hex": "#182a61",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 225.205,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30554,
    "c": 0.10045,
    "h": 266.7
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#182A61
secondary
#97813D
accent
#BC44E3
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182A61

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

Preview Lab → · Contrast checker → · Palette generator →

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