#183A79#183A79

#183A79 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.115 H 261.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#183A79
RGBrgb(24, 58, 121)
HSLhsl(219, 67%, 28%)
HSVhsv(219, 80%, 47%)
CMYKcmyk(80.2%, 52.1%, 0%, 52.5%)
CIE-LABlab(25.56, 12.34, -39.49)
CIE-LCHlch(25.56, 41.38, 287.36°)
OKLaboklab(36.24% -0.0172 -0.1136)
OKLCHoklch(36.24% 0.115 261.4)
XYZxyz(5.3397, 4.6002, 18.6920)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A79 #795718
analogous
#186A79 #183A79 #261879
triadic
#183A79 #79183A #3A7918
tetradic
#183A79 #79186A #795718 #187926
square
#183A79 #79186A #795718 #187926
split-complementary
#183A79 #792618 #6A7918
monochromatic
#050C1A #0E2246 #183A79 #2252AC #356DD7

Accessibility & contrast

On white

10.94
#183A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A79
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A79#FFFFFF#000000##FFFFFF
##183A791.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183a79;
/* rgb */ color: rgb(24, 58, 121);
/* oklch */ color: oklch(36.2% 0.115 261.4);
Tailwind
colors: {
  custom: {
    50: '#656fa0',
    500: '#183a79',
    950: '#000000',
  },
}
SCSS
$custom: #183a79;
$custom-light: #656fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#183a79",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 218.969,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36243,
    "c": 0.1149,
    "h": 261.4
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183A79

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

Preview Lab → · Contrast checker → · Palette generator →

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