#182A62#182A62

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

Color values

HEX#182A62
RGBrgb(24, 42, 98)
HSLhsl(225, 61%, 24%)
HSVhsv(225, 76%, 38%)
CMYKcmyk(75.5%, 57.1%, 0%, 61.6%)
CIE-LABlab(18.94, 14.30, -35.39)
CIE-LCHlch(18.94, 38.17, 292.00°)
OKLaboklab(30.64% -0.0057 -0.1018)
OKLCHoklch(30.64% 0.102 266.8)
XYZxyz(3.4085, 2.7316, 11.9005)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A62 #625018
analogous
#184F62 #182A62 #2B1862
triadic
#182A62 #62182A #2A6218
tetradic
#182A62 #62184F #625018 #18622B
square
#182A62 #62184F #625018 #18622B
split-complementary
#182A62 #622B18 #4F6218
monochromatic
#060B19 #0C1531 #182A62 #243F93 #3054C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182A62#FFFFFF#000000##FFFFFF
##182A621.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)
#023264
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182a62;
/* rgb */ color: rgb(24, 42, 98);
/* oklch */ color: oklch(30.6% 0.102 266.8);
Tailwind
colors: {
  custom: {
    50: '#60638f',
    500: '#182a62',
    950: '#000000',
  },
}
SCSS
$custom: #182a62;
$custom-light: #60638f;
$custom-dark: #000000;
JSON
{
  "hex": "#182a62",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 225.405,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3064,
    "c": 0.10199,
    "h": 266.8
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#182A62
secondary
#98823E
accent
#BD44E4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #182A62

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

Preview Lab → · Contrast checker → · Palette generator →

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