#183C7C#183C7C

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

Color values

HEX#183C7C
RGBrgb(24, 60, 124)
HSLhsl(218, 68%, 29%)
HSVhsv(218, 81%, 49%)
CMYKcmyk(80.6%, 51.6%, 0%, 51.4%)
CIE-LABlab(26.39, 12.18, -40.05)
CIE-LCHlch(26.39, 41.86, 286.91°)
OKLaboklab(36.95% -0.0185 -0.1152)
OKLCHoklch(36.95% 0.117 260.9)
XYZxyz(5.6293, 4.8805, 19.7102)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C7C #7C5818
analogous
#186E7C #183C7C #26187C
triadic
#183C7C #7C183C #3C7C18
tetradic
#183C7C #7C186E #7C5818 #187C26
square
#183C7C #7C186E #7C5818 #187C26
split-complementary
#183C7C #7C2618 #6E7C18
monochromatic
#050C1A #0E2349 #183C7C #2255AF #3671D8

Accessibility & contrast

On white

10.63
#183C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#183C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C7C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C7C#FFFFFF#000000##FFFFFF
##183C7C1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183c7c;
/* rgb */ color: rgb(24, 60, 124);
/* oklch */ color: oklch(36.9% 0.117 260.9);
Tailwind
colors: {
  custom: {
    50: '#6671a2',
    500: '#183c7c',
    950: '#000000',
  },
}
SCSS
$custom: #183c7c;
$custom-light: #6671a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183c7c",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 218.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.11666,
    "h": 260.9
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#183C7C
secondary
#B1883F
accent
#AC3DEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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