#183F76#183F76

#183F76 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.104 H 257.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#183F76
RGBrgb(24, 63, 118)
HSLhsl(215, 66%, 28%)
HSVhsv(215, 80%, 46%)
CMYKcmyk(79.7%, 46.6%, 0%, 53.7%)
CIE-LABlab(26.90, 7.59, -35.45)
CIE-LCHlch(26.90, 36.26, 282.09°)
OKLaboklab(37.2% -0.0222 -0.1016)
OKLCHoklch(37.2% 0.104 257.7)
XYZxyz(5.4230, 5.0566, 17.8262)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F76 #764F18
analogous
#186E76 #183F76 #201876
triadic
#183F76 #76183F #3F7618
tetradic
#183F76 #76186E #764F18 #187620
square
#183F76 #76186E #764F18 #187620
split-complementary
#183F76 #762018 #6E7618
monochromatic
#050E19 #0E2443 #183F76 #225AA9 #3376D5

Accessibility & contrast

On white

10.44
#183F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F76
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F76#FFFFFF#000000##FFFFFF
##183F761.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#0F3C75
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183f76;
/* rgb */ color: rgb(24, 63, 118);
/* oklch */ color: oklch(37.2% 0.104 257.7);
Tailwind
colors: {
  custom: {
    50: '#64739e',
    500: '#183f76',
    950: '#000000',
  },
}
SCSS
$custom: #183f76;
$custom-light: #64739e;
$custom-dark: #000000;
JSON
{
  "hex": "#183f76",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 215.106,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.104,
    "h": 257.7
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#183F76
secondary
#AB7E3F
accent
#A23FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #183F76

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

Preview Lab → · Contrast checker → · Palette generator →

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