#183F80#183F80

#183F80 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.119 H 260.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#183F80
RGBrgb(24, 63, 128)
HSLhsl(218, 68%, 30%)
HSVhsv(218, 81%, 50%)
CMYKcmyk(81.3%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.59, 11.73, -40.62)
CIE-LCHlch(27.59, 42.28, 286.11°)
OKLaboklab(37.96% -0.0204 -0.1168)
OKLCHoklch(37.96% 0.119 260.1)
XYZxyz(6.0491, 5.3070, 21.1234)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F80 #805918
analogous
#187380 #183F80 #251880
triadic
#183F80 #80183F #3F8018
tetradic
#183F80 #801873 #805918 #188025
square
#183F80 #801873 #805918 #188025
split-complementary
#183F80 #802518 #738018
monochromatic
#050D1A #0E264C #183F80 #2258B4 #3975DA

Accessibility & contrast

On white

10.19
#183F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#183F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F80
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F80#FFFFFF#000000##FFFFFF
##183F801.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183f80;
/* rgb */ color: rgb(24, 63, 128);
/* oklch */ color: oklch(38.0% 0.119 260.1);
Tailwind
colors: {
  custom: {
    50: '#6773a5',
    500: '#183f80',
    950: '#000000',
  },
}
SCSS
$custom: #183f80;
$custom-light: #6773a5;
$custom-dark: #000000;
JSON
{
  "hex": "#183f80",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 217.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.11857,
    "h": 260.1
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#183F80
secondary
#B48840
accent
#AA3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183F80

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

Preview Lab → · Contrast checker → · Palette generator →

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