#183A7E#183A7E

#183A7E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.122 H 262.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#183A7E
RGBrgb(24, 58, 126)
HSLhsl(220, 68%, 29%)
HSVhsv(220, 81%, 49%)
CMYKcmyk(81%, 54%, 0%, 50.6%)
CIE-LABlab(25.94, 14.41, -42.04)
CIE-LCHlch(25.94, 44.44, 288.93°)
OKLaboklab(36.65% -0.0166 -0.1211)
OKLCHoklch(36.65% 0.122 262.2)
XYZxyz(5.6543, 4.7260, 20.3488)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A7E #7E5C18
analogous
#186D7E #183A7E #29187E
triadic
#183A7E #7E183A #3A7E18
tetradic
#183A7E #7E186D #7E5C18 #187E29
square
#183A7E #7E186D #7E5C18 #187E29
split-complementary
#183A7E #7E2918 #6D7E18
monochromatic
#050C1A #0E224B #183A7E #2252B1 #376DD9

Accessibility & contrast

On white

10.79
#183A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A7E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A7E#FFFFFF#000000##FFFFFF
##183A7E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183a7e;
/* rgb */ color: rgb(24, 58, 126);
/* oklch */ color: oklch(36.6% 0.122 262.2);
Tailwind
colors: {
  custom: {
    50: '#666fa4',
    500: '#183a7e',
    950: '#000000',
  },
}
SCSS
$custom: #183a7e;
$custom-light: #666fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#183a7e",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 220,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.12221,
    "h": 262.2
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#183A7E
secondary
#B28C3F
accent
#B13DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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