#182B62#182B62

#182B62 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.101 H 266.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#182B62
RGBrgb(24, 43, 98)
HSLhsl(225, 61%, 24%)
HSVhsv(225, 76%, 38%)
CMYKcmyk(75.5%, 56.1%, 0%, 61.6%)
CIE-LABlab(19.24, 13.57, -34.90)
CIE-LCHlch(19.24, 37.44, 291.25°)
OKLaboklab(30.87% -0.0066 -0.1004)
OKLCHoklch(30.87% 0.101 266.2)
XYZxyz(3.4444, 2.8034, 11.9125)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B62 #624F18
analogous
#185062 #182B62 #2A1862
triadic
#182B62 #62182B #2B6218
tetradic
#182B62 #621850 #624F18 #18622A
square
#182B62 #621850 #624F18 #18622A
split-complementary
#182B62 #622A18 #506218
monochromatic
#060B19 #0C1531 #182B62 #244193 #3056C4

Accessibility & contrast

On white

13.45
#182B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B62
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B62#FFFFFF#000000##FFFFFF
##182B621.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063264
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182b62;
/* rgb */ color: rgb(24, 43, 98);
/* oklch */ color: oklch(30.9% 0.101 266.2);
Tailwind
colors: {
  custom: {
    50: '#60638f',
    500: '#182b62',
    950: '#000000',
  },
}
SCSS
$custom: #182b62;
$custom-light: #60638f;
$custom-dark: #000000;
JSON
{
  "hex": "#182b62",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 224.595,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.10059,
    "h": 266.2
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#182B62
secondary
#98813E
accent
#BB44E4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #182B62

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

Preview Lab → · Contrast checker → · Palette generator →

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