#183F7B#183F7B

#183F7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.111 H 259.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#183F7B
RGBrgb(24, 63, 123)
HSLhsl(216, 67%, 29%)
HSVhsv(216, 80%, 48%)
CMYKcmyk(80.5%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.24, 9.66, -38.06)
CIE-LCHlch(27.24, 39.26, 284.25°)
OKLaboklab(37.57% -0.0212 -0.1093)
OKLCHoklch(37.57% 0.111 259)
XYZxyz(5.7280, 5.1786, 19.4327)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F7B #7B5418
analogous
#18717B #183F7B #23187B
triadic
#183F7B #7B183F #3F7B18
tetradic
#183F7B #7B1871 #7B5418 #187B23
square
#183F7B #7B1871 #7B5418 #187B23
split-complementary
#183F7B #7B2318 #717B18
monochromatic
#050D1A #0E2548 #183F7B #2259AE #3676D8

Accessibility & contrast

On white

10.32
#183F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#183F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F7B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F7B#FFFFFF#000000##FFFFFF
##183F7B1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183f7b;
/* rgb */ color: rgb(24, 63, 123);
/* oklch */ color: oklch(37.6% 0.111 259.0);
Tailwind
colors: {
  custom: {
    50: '#6573a2',
    500: '#183f7b',
    950: '#000000',
  },
}
SCSS
$custom: #183f7b;
$custom-light: #6573a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183f7b",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 216.364,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.1113,
    "h": 259
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#183F7B
secondary
#B0833F
accent
#A63EEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #183F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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