#183A7A#183A7A

#183A7A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.116 H 261.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#183A7A
RGBrgb(24, 58, 122)
HSLhsl(219, 67%, 29%)
HSVhsv(219, 80%, 48%)
CMYKcmyk(80.3%, 52.5%, 0%, 52.2%)
CIE-LABlab(25.64, 12.76, -40.01)
CIE-LCHlch(25.64, 41.99, 287.69°)
OKLaboklab(36.32% -0.0171 -0.1151)
OKLCHoklch(36.32% 0.116 261.6)
XYZxyz(5.4013, 4.6248, 19.0166)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A7A #7A5818
analogous
#186B7A #183A7A #27187A
triadic
#183A7A #7A183A #3A7A18
tetradic
#183A7A #7A186B #7A5818 #187A27
square
#183A7A #7A186B #7A5818 #187A27
split-complementary
#183A7A #7A2718 #6B7A18
monochromatic
#050C1A #0E2247 #183A7A #2252AD #356DD7

Accessibility & contrast

On white

10.91
#183A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#183A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A7A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A7A#FFFFFF#000000##FFFFFF
##183A7A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183a7a;
/* rgb */ color: rgb(24, 58, 122);
/* oklch */ color: oklch(36.3% 0.116 261.6);
Tailwind
colors: {
  custom: {
    50: '#656fa1',
    500: '#183a7a',
    950: '#000000',
  },
}
SCSS
$custom: #183a7a;
$custom-light: #656fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#183a7a",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 219.184,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36323,
    "c": 0.11636,
    "h": 261.6
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#183A7A
secondary
#AF883F
accent
#AE3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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