#183277#183277

#183277 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.123 H 264.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#183277
RGBrgb(24, 50, 119)
HSLhsl(224, 66%, 28%)
HSVhsv(224, 80%, 47%)
CMYKcmyk(79.8%, 58%, 0%, 53.3%)
CIE-LABlab(23.02, 17.20, -42.34)
CIE-LCHlch(23.02, 45.70, 292.11°)
OKLaboklab(34.26% -0.0109 -0.1221)
OKLCHoklch(34.26% 0.123 264.9)
XYZxyz(4.8459, 3.8068, 17.9286)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183277 #775D18
analogous
#186177 #183277 #2D1877
triadic
#183277 #771832 #327718
tetradic
#183277 #771861 #775D18 #18772D
square
#183277 #771861 #775D18 #18772D
split-complementary
#183277 #772D18 #617718
monochromatic
#050B19 #0E1D44 #183277 #2247AA #3360D6

Accessibility & contrast

On white

11.92
#183277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#183277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183277
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183277#FFFFFF#000000##FFFFFF
##1832771.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183277;
/* rgb */ color: rgb(24, 50, 119);
/* oklch */ color: oklch(34.3% 0.123 264.9);
Tailwind
colors: {
  custom: {
    50: '#65699f',
    500: '#183277',
    950: '#000000',
  },
}
SCSS
$custom: #183277;
$custom-light: #65699f;
$custom-dark: #000000;
JSON
{
  "hex": "#183277",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 223.579,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34264,
    "c": 0.12261,
    "h": 264.9
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#183277
secondary
#AC8E3F
accent
#BB3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183277

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

Preview Lab → · Contrast checker → · Palette generator →

#183277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva