#182A63#182A63

#182A63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.104 H 266.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#182A63
RGBrgb(24, 42, 99)
HSLhsl(226, 61%, 24%)
HSVhsv(226, 76%, 39%)
CMYKcmyk(75.8%, 57.6%, 0%, 61.2%)
CIE-LABlab(19.02, 14.72, -35.92)
CIE-LCHlch(19.02, 38.81, 292.28°)
OKLaboklab(30.73% -0.0056 -0.1034)
OKLCHoklch(30.73% 0.104 266.9)
XYZxyz(3.4560, 2.7506, 12.1507)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A63 #635118
analogous
#185063 #182A63 #2C1863
triadic
#182A63 #63182A #2A6318
tetradic
#182A63 #631850 #635118 #18632C
square
#182A63 #631850 #635118 #18632C
split-complementary
#182A63 #632C18 #506318
monochromatic
#060A19 #0C1532 #182A63 #243F94 #3054C6

Accessibility & contrast

On white

13.55
#182A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A63
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A63#FFFFFF#000000##FFFFFF
##182A631.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182a63;
/* rgb */ color: rgb(24, 42, 99);
/* oklch */ color: oklch(30.7% 0.104 266.9);
Tailwind
colors: {
  custom: {
    50: '#606390',
    500: '#182a63',
    950: '#000000',
  },
}
SCSS
$custom: #182a63;
$custom-light: #606390;
$custom-dark: #000000;
JSON
{
  "hex": "#182a63",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 225.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30727,
    "c": 0.10353,
    "h": 266.9
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#182A63
secondary
#99833E
accent
#BE44E4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #182A63

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

Preview Lab → · Contrast checker → · Palette generator →

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