#183F81#183F81

#183F81 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.0% C 0.120 H 260.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#183F81
RGBrgb(24, 63, 129)
HSLhsl(218, 69%, 30%)
HSVhsv(218, 81%, 51%)
CMYKcmyk(81.4%, 51.2%, 0%, 49.4%)
CIE-LABlab(27.66, 12.14, -41.13)
CIE-LCHlch(27.66, 42.88, 286.45°)
OKLaboklab(38.04% -0.0202 -0.1183)
OKLCHoklch(38.04% 0.12 260.3)
XYZxyz(6.1152, 5.3335, 21.4718)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F81 #815A18
analogous
#187481 #183F81 #251881
triadic
#183F81 #81183F #3F8118
tetradic
#183F81 #811874 #815A18 #188125
square
#183F81 #811874 #815A18 #188125
split-complementary
#183F81 #812518 #748118
monochromatic
#050D1A #0E264D #183F81 #2258B5 #3975DA

Accessibility & contrast

On white

10.16
#183F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#183F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F81
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F81#FFFFFF#000000##FFFFFF
##183F811.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183f81;
/* rgb */ color: rgb(24, 63, 129);
/* oklch */ color: oklch(38.0% 0.120 260.3);
Tailwind
colors: {
  custom: {
    50: '#6773a6',
    500: '#183f81',
    950: '#000000',
  },
}
SCSS
$custom: #183f81;
$custom-light: #6773a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183f81",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 217.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.12003,
    "h": 260.3
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#183F81
secondary
#B58A40
accent
#AA3CEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183F81

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

Preview Lab → · Contrast checker → · Palette generator →

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