#182F80#182F80

#182F80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.140 H 266.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#182F80
RGBrgb(24, 47, 128)
HSLhsl(227, 68%, 30%)
HSVhsv(227, 81%, 50%)
CMYKcmyk(81.3%, 63.3%, 0%, 49.8%)
CIE-LABlab(22.95, 23.00, -48.16)
CIE-LCHlch(22.95, 53.37, 295.53°)
OKLaboklab(34.45% -0.0084 -0.1393)
OKLCHoklch(34.45% 0.14 266.6)
XYZxyz(5.2881, 3.7851, 20.8698)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F80 #806918
analogous
#186380 #182F80 #351880
triadic
#182F80 #80182F #2F8018
tetradic
#182F80 #801863 #806918 #188035
square
#182F80 #801863 #806918 #188035
split-complementary
#182F80 #803518 #638018
monochromatic
#05091A #0E1C4C #182F80 #2242B4 #395CDA

Accessibility & contrast

On white

11.95
#182F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#182F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F80
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F80#FFFFFF#000000##FFFFFF
##182F801.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182f80;
/* rgb */ color: rgb(24, 47, 128);
/* oklch */ color: oklch(34.4% 0.140 266.6);
Tailwind
colors: {
  custom: {
    50: '#6867a6',
    500: '#182f80',
    950: '#000000',
  },
}
SCSS
$custom: #182f80;
$custom-light: #6867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182f80",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 226.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.13952,
    "h": 266.6
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#182F80
secondary
#B49A40
accent
#C53DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #182F80

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

Preview Lab → · Contrast checker → · Palette generator →

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