#183F7A#183F7A

#183F7A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.110 H 258.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#183F7A
RGBrgb(24, 63, 122)
HSLhsl(216, 67%, 29%)
HSVhsv(216, 80%, 48%)
CMYKcmyk(80.3%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.17, 9.25, -37.54)
CIE-LCHlch(27.17, 38.66, 283.84°)
OKLaboklab(37.5% -0.0214 -0.1077)
OKLCHoklch(37.5% 0.11 258.8)
XYZxyz(5.6658, 5.1537, 19.1047)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F7A #7A5318
analogous
#18707A #183F7A #22187A
triadic
#183F7A #7A183F #3F7A18
tetradic
#183F7A #7A1870 #7A5318 #187A22
square
#183F7A #7A1870 #7A5318 #187A22
split-complementary
#183F7A #7A2218 #707A18
monochromatic
#050D1A #0E2547 #183F7A #2259AD #3576D7

Accessibility & contrast

On white

10.34
#183F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F7A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F7A#FFFFFF#000000##FFFFFF
##183F7A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#063C79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183f7a;
/* rgb */ color: rgb(24, 63, 122);
/* oklch */ color: oklch(37.5% 0.110 258.8);
Tailwind
colors: {
  custom: {
    50: '#6573a1',
    500: '#183f7a',
    950: '#000000',
  },
}
SCSS
$custom: #183f7a;
$custom-light: #6573a1;
$custom-dark: #000000;
JSON
{
  "hex": "#183f7a",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 216.122,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.10985,
    "h": 258.8
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#183F7A
secondary
#AF823F
accent
#A53EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #183F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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