#182F77#182F77

#182F77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.127 H 266.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#182F77
RGBrgb(24, 47, 119)
HSLhsl(225, 66%, 28%)
HSVhsv(225, 80%, 47%)
CMYKcmyk(79.8%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.16, 19.34, -43.75)
CIE-LCHlch(22.16, 47.84, 293.85°)
OKLaboklab(33.61% -0.0086 -0.1263)
OKLCHoklch(33.61% 0.127 266.1)
XYZxyz(4.7218, 3.5586, 17.8872)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F77 #776018
analogous
#185E77 #182F77 #301877
triadic
#182F77 #77182F #2F7718
tetradic
#182F77 #77185E #776018 #187730
square
#182F77 #77185E #776018 #187730
split-complementary
#182F77 #773018 #5E7718
monochromatic
#050A19 #0E1B44 #182F77 #2243AA #335BD6

Accessibility & contrast

On white

12.27
#182F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#182F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F77
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F77#FFFFFF#000000##FFFFFF
##182F771.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182f77;
/* rgb */ color: rgb(24, 47, 119);
/* oklch */ color: oklch(33.6% 0.127 266.1);
Tailwind
colors: {
  custom: {
    50: '#65679f',
    500: '#182f77',
    950: '#000000',
  },
}
SCSS
$custom: #182f77;
$custom-light: #65679f;
$custom-dark: #000000;
JSON
{
  "hex": "#182f77",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 225.474,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.12662,
    "h": 266.1
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#182F77
secondary
#AC923F
accent
#C03EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F77

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

Preview Lab → · Contrast checker → · Palette generator →

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