#183671#183671

#183671 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.108 H 262.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#183671
RGBrgb(24, 54, 113)
HSLhsl(220, 65%, 27%)
HSVhsv(220, 79%, 44%)
CMYKcmyk(78.8%, 52.2%, 0%, 55.7%)
CIE-LABlab(23.75, 11.86, -37.33)
CIE-LCHlch(23.75, 39.17, 287.62°)
OKLaboklab(34.67% -0.0149 -0.1073)
OKLCHoklch(34.67% 0.108 262.1)
XYZxyz(4.6754, 4.0243, 16.1499)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183671 #715318
analogous
#186371 #183671 #261871
triadic
#183671 #711836 #367118
tetradic
#183671 #711863 #715318 #187126
square
#183671 #711863 #715318 #187126
split-complementary
#183671 #712618 #637118
monochromatic
#050C19 #0D1E3F #183671 #234EA3 #3067D3

Accessibility & contrast

On white

11.63
#183671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#183671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183671
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183671#FFFFFF#000000##FFFFFF
##1836711.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183671;
/* rgb */ color: rgb(24, 54, 113);
/* oklch */ color: oklch(34.7% 0.108 262.1);
Tailwind
colors: {
  custom: {
    50: '#636c9a',
    500: '#183671',
    950: '#000000',
  },
}
SCSS
$custom: #183671;
$custom-light: #636c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#183671",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 219.775,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34669,
    "c": 0.10835,
    "h": 262.1
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#183671
secondary
#A6833E
accent
#AF40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183671

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

Preview Lab → · Contrast checker → · Palette generator →

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