#183D71#183D71

#183D71 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.3% C 0.099 H 257.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#183D71
RGBrgb(24, 61, 113)
HSLhsl(215, 65%, 27%)
HSVhsv(215, 79%, 44%)
CMYKcmyk(78.8%, 46%, 0%, 55.7%)
CIE-LABlab(25.93, 6.92, -33.83)
CIE-LCHlch(25.93, 34.53, 281.56°)
OKLaboklab(36.35% -0.0214 -0.0969)
OKLCHoklch(36.35% 0.099 257.6)
XYZxyz(5.0250, 4.7234, 16.2665)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D71 #714C18
analogous
#186A71 #183D71 #1F1871
triadic
#183D71 #71183D #3D7118
tetradic
#183D71 #71186A #714C18 #18711F
square
#183D71 #71186A #714C18 #18711F
split-complementary
#183D71 #711F18 #6A7118
monochromatic
#050E19 #0D223F #183D71 #2358A3 #3074D3

Accessibility & contrast

On white

10.80
#183D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D71
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D71#FFFFFF#000000##FFFFFF
##183D711.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#123A70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183d71;
/* rgb */ color: rgb(24, 61, 113);
/* oklch */ color: oklch(36.3% 0.099 257.6);
Tailwind
colors: {
  custom: {
    50: '#63729a',
    500: '#183d71',
    950: '#000000',
  },
}
SCSS
$custom: #183d71;
$custom-light: #63729a;
$custom-dark: #000000;
JSON
{
  "hex": "#183d71",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 215.056,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36345,
    "c": 0.09919,
    "h": 257.6
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#183D71
secondary
#A67B3E
accent
#A240E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183D71

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

Preview Lab → · Contrast checker → · Palette generator →

#183D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva