#183E7A#183E7A

#183E7A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.111 H 259.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#183E7A
RGBrgb(24, 62, 122)
HSLhsl(217, 67%, 29%)
HSVhsv(217, 80%, 48%)
CMYKcmyk(80.3%, 49.2%, 0%, 52.2%)
CIE-LABlab(26.86, 9.95, -38.04)
CIE-LCHlch(26.86, 39.31, 284.66°)
OKLaboklab(37.26% -0.0205 -0.1092)
OKLCHoklch(37.26% 0.111 259.4)
XYZxyz(5.6109, 5.0439, 19.0864)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E7A #7A5418
analogous
#186F7A #183E7A #23187A
triadic
#183E7A #7A183E #3E7A18
tetradic
#183E7A #7A186F #7A5418 #187A23
square
#183E7A #7A186F #7A5418 #187A23
split-complementary
#183E7A #7A2318 #6F7A18
monochromatic
#050D1A #0E2447 #183E7A #2258AD #3574D7

Accessibility & contrast

On white

10.45
#183E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183E7A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E7A#FFFFFF#000000##FFFFFF
##183E7A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183e7a;
/* rgb */ color: rgb(24, 62, 122);
/* oklch */ color: oklch(37.3% 0.111 259.4);
Tailwind
colors: {
  custom: {
    50: '#6572a1',
    500: '#183e7a',
    950: '#000000',
  },
}
SCSS
$custom: #183e7a;
$custom-light: #6572a1;
$custom-dark: #000000;
JSON
{
  "hex": "#183e7a",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 216.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3726,
    "c": 0.11113,
    "h": 259.4
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#183E7A
secondary
#AF833F
accent
#A73EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #183E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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