#183A7F#183A7F

#183A7F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.7% C 0.124 H 262.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#183A7F
RGBrgb(24, 58, 127)
HSLhsl(220, 68%, 30%)
HSVhsv(220, 81%, 50%)
CMYKcmyk(81.1%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.02, 14.83, -42.54)
CIE-LCHlch(26.02, 45.05, 289.21°)
OKLaboklab(36.73% -0.0164 -0.1226)
OKLCHoklch(36.73% 0.124 262.4)
XYZxyz(5.7191, 4.7519, 20.6904)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A7F #7F5D18
analogous
#186E7F #183A7F #29187F
triadic
#183A7F #7F183A #3A7F18
tetradic
#183A7F #7F186E #7F5D18 #187F29
square
#183A7F #7F186E #7F5D18 #187F29
split-complementary
#183A7F #7F2918 #6E7F18
monochromatic
#050C1A #0E224C #183A7F #2252B2 #386DD9

Accessibility & contrast

On white

10.77
#183A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A7F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A7F#FFFFFF#000000##FFFFFF
##183A7F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084381
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183a7f;
/* rgb */ color: rgb(24, 58, 127);
/* oklch */ color: oklch(36.7% 0.124 262.4);
Tailwind
colors: {
  custom: {
    50: '#676fa5',
    500: '#183a7f',
    950: '#000000',
  },
}
SCSS
$custom: #183a7f;
$custom-light: #676fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#183a7f",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 220.194,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.12367,
    "h": 262.4
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#183A7F
secondary
#B38D3F
accent
#B23DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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