#183C7B#183C7B

#183C7B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.115 H 260.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#183C7B
RGBrgb(24, 60, 123)
HSLhsl(218, 67%, 29%)
HSVhsv(218, 80%, 48%)
CMYKcmyk(80.5%, 51.2%, 0%, 51.8%)
CIE-LABlab(26.32, 11.76, -39.54)
CIE-LCHlch(26.32, 41.25, 286.57°)
OKLaboklab(36.87% -0.0186 -0.1137)
OKLCHoklch(36.87% 0.115 260.7)
XYZxyz(5.5664, 4.8553, 19.3789)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C7B #7B5718
analogous
#186E7B #183C7B #26187B
triadic
#183C7B #7B183C #3C7B18
tetradic
#183C7B #7B186E #7B5718 #187B26
square
#183C7B #7B186E #7B5718 #187B26
split-complementary
#183C7B #7B2618 #6E7B18
monochromatic
#050C1A #0E2348 #183C7B #2255AE #3671D8

Accessibility & contrast

On white

10.65
#183C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C7B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C7B#FFFFFF#000000##FFFFFF
##183C7B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183c7b;
/* rgb */ color: rgb(24, 60, 123);
/* oklch */ color: oklch(36.9% 0.115 260.7);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#183c7b',
    950: '#000000',
  },
}
SCSS
$custom: #183c7b;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183c7b",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 218.182,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.11519,
    "h": 260.7
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#183C7B
secondary
#B0873F
accent
#AB3EEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #183C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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