#182B71#182B71

#182B71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.123 H 267.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#182B71
RGBrgb(24, 43, 113)
HSLhsl(227, 65%, 27%)
HSVhsv(227, 79%, 44%)
CMYKcmyk(78.8%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.49, 19.75, -42.62)
CIE-LCHlch(20.49, 46.97, 294.87°)
OKLaboklab(32.21% -0.0057 -0.123)
OKLCHoklch(32.21% 0.123 267.3)
XYZxyz(4.2202, 3.1137, 15.9982)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B71 #715E18
analogous
#185871 #182B71 #321871
triadic
#182B71 #71182B #2B7118
tetradic
#182B71 #711858 #715E18 #187132
square
#182B71 #711858 #715E18 #187132
split-complementary
#182B71 #713218 #587118
monochromatic
#050A19 #0D183F #182B71 #233EA3 #3053D3

Accessibility & contrast

On white

12.94
#182B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B71
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B71#FFFFFF#000000##FFFFFF
##182B711.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182b71;
/* rgb */ color: rgb(24, 43, 113);
/* oklch */ color: oklch(32.2% 0.123 267.3);
Tailwind
colors: {
  custom: {
    50: '#64649a',
    500: '#182b71',
    950: '#000000',
  },
}
SCSS
$custom: #182b71;
$custom-light: #64649a;
$custom-dark: #000000;
JSON
{
  "hex": "#182b71",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 227.191,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32208,
    "c": 0.12318,
    "h": 267.3
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#182B71
secondary
#A6903E
accent
#C440E8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182B71

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

Preview Lab → · Contrast checker → · Palette generator →

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