#183A7B#183A7B

#183A7B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.118 H 261.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#183A7B
RGBrgb(24, 58, 123)
HSLhsl(219, 67%, 29%)
HSVhsv(219, 80%, 48%)
CMYKcmyk(80.5%, 52.8%, 0%, 51.8%)
CIE-LABlab(25.71, 13.17, -40.52)
CIE-LCHlch(25.71, 42.60, 288.01°)
OKLaboklab(36.4% -0.0169 -0.1166)
OKLCHoklch(36.4% 0.118 261.7)
XYZxyz(5.4636, 4.6497, 19.3446)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A7B #7B5918
analogous
#186C7B #183A7B #28187B
triadic
#183A7B #7B183A #3A7B18
tetradic
#183A7B #7B186C #7B5918 #187B28
square
#183A7B #7B186C #7B5918 #187B28
split-complementary
#183A7B #7B2818 #6C7B18
monochromatic
#050C1A #0E2248 #183A7B #2252AE #366DD8

Accessibility & contrast

On white

10.88
#183A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A7B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A7B#FFFFFF#000000##FFFFFF
##183A7B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183a7b;
/* rgb */ color: rgb(24, 58, 123);
/* oklch */ color: oklch(36.4% 0.118 261.7);
Tailwind
colors: {
  custom: {
    50: '#666fa2',
    500: '#183a7b',
    950: '#000000',
  },
}
SCSS
$custom: #183a7b;
$custom-light: #666fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#183a7b",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 219.394,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36404,
    "c": 0.11782,
    "h": 261.7
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#183A7B
secondary
#B0893F
accent
#AF3EEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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