#183B7F#183B7F

#183B7F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.0% C 0.122 H 261.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#183B7F
RGBrgb(24, 59, 127)
HSLhsl(220, 68%, 30%)
HSVhsv(220, 81%, 50%)
CMYKcmyk(81.1%, 53.5%, 0%, 50.2%)
CIE-LABlab(26.31, 14.12, -42.06)
CIE-LCHlch(26.31, 44.37, 288.56°)
OKLaboklab(36.96% -0.0172 -0.1211)
OKLCHoklch(36.96% 0.122 261.9)
XYZxyz(5.7700, 4.8538, 20.7073)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B7F #7F5C18
analogous
#186F7F #183B7F #29187F
triadic
#183B7F #7F183B #3B7F18
tetradic
#183B7F #7F186F #7F5C18 #187F29
square
#183B7F #7F186F #7F5C18 #187F29
split-complementary
#183B7F #7F2918 #6F7F18
monochromatic
#050C1A #0E234C #183B7F #2253B2 #386FD9

Accessibility & contrast

On white

10.66
#183B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B7F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B7F#FFFFFF#000000##FFFFFF
##183B7F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183b7f;
/* rgb */ color: rgb(24, 59, 127);
/* oklch */ color: oklch(37.0% 0.122 261.9);
Tailwind
colors: {
  custom: {
    50: '#6770a5',
    500: '#183b7f',
    950: '#000000',
  },
}
SCSS
$custom: #183b7f;
$custom-light: #6770a5;
$custom-dark: #000000;
JSON
{
  "hex": "#183b7f",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 219.612,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36958,
    "c": 0.12235,
    "h": 261.9
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#183B7F
secondary
#B38C3F
accent
#B03DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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