#182F83#182F83

#182F83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.144 H 266.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#182F83
RGBrgb(24, 47, 131)
HSLhsl(227, 69%, 30%)
HSVhsv(227, 82%, 51%)
CMYKcmyk(81.7%, 64.1%, 0%, 48.6%)
CIE-LABlab(23.22, 24.20, -49.60)
CIE-LCHlch(23.22, 55.19, 296.01°)
OKLaboklab(34.74% -0.0084 -0.1435)
OKLCHoklch(34.74% 0.144 266.7)
XYZxyz(5.4885, 3.8653, 21.9251)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F83 #836C18
analogous
#186483 #182F83 #371883
triadic
#182F83 #83182F #2F8318
tetradic
#182F83 #831864 #836C18 #188337
square
#182F83 #831864 #836C18 #188337
split-complementary
#182F83 #833718 #648318
monochromatic
#050A1C #0F1C4F #182F83 #2142B7 #3A5DDB

Accessibility & contrast

On white

11.84
#182F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#182F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F83
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F83#FFFFFF#000000##FFFFFF
##182F831.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182f83;
/* rgb */ color: rgb(24, 47, 131);
/* oklch */ color: oklch(34.7% 0.144 266.7);
Tailwind
colors: {
  custom: {
    50: '#6967a8',
    500: '#182f83',
    950: '#000000',
  },
}
SCSS
$custom: #182f83;
$custom-light: #6967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#182f83",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 227.103,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34737,
    "c": 0.14374,
    "h": 266.7
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#182F83
secondary
#B79D40
accent
#C63CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #182F83

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

Preview Lab → · Contrast checker → · Palette generator →

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