#183F82#183F82

#183F82 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.1% C 0.121 H 260.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#183F82
RGBrgb(24, 63, 130)
HSLhsl(218, 69%, 30%)
HSVhsv(218, 82%, 51%)
CMYKcmyk(81.5%, 51.5%, 0%, 49%)
CIE-LABlab(27.74, 12.56, -41.64)
CIE-LCHlch(27.74, 43.49, 286.78°)
OKLaboklab(38.12% -0.0201 -0.1198)
OKLCHoklch(38.12% 0.121 260.5)
XYZxyz(6.1820, 5.3602, 21.8236)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F82 #825B18
analogous
#187482 #183F82 #261882
triadic
#183F82 #82183F #3F8218
tetradic
#183F82 #821874 #825B18 #188226
square
#183F82 #821874 #825B18 #188226
split-complementary
#183F82 #822618 #748218
monochromatic
#050D1B #0E264E #183F82 #2258B6 #3A75DB

Accessibility & contrast

On white

10.13
#183F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F82
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F82#FFFFFF#000000##FFFFFF
##183F821.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183f82;
/* rgb */ color: rgb(24, 63, 130);
/* oklch */ color: oklch(38.1% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#6773a7',
    500: '#183f82',
    950: '#000000',
  },
}
SCSS
$custom: #183f82;
$custom-light: #6773a7;
$custom-dark: #000000;
JSON
{
  "hex": "#183f82",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 217.925,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38116,
    "c": 0.12147,
    "h": 260.5
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#183F82
secondary
#B68B40
accent
#AB3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183F82

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

Preview Lab → · Contrast checker → · Palette generator →

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