#183C7A#183C7A

#183C7A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.114 H 260.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#183C7A
RGBrgb(24, 60, 122)
HSLhsl(218, 67%, 29%)
HSVhsv(218, 80%, 48%)
CMYKcmyk(80.3%, 50.8%, 0%, 52.2%)
CIE-LABlab(26.25, 11.35, -39.02)
CIE-LCHlch(26.25, 40.64, 286.21°)
OKLaboklab(36.79% -0.0188 -0.1122)
OKLCHoklch(36.79% 0.114 260.5)
XYZxyz(5.5041, 4.8304, 19.0509)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C7A #7A5618
analogous
#186D7A #183C7A #25187A
triadic
#183C7A #7A183C #3C7A18
tetradic
#183C7A #7A186D #7A5618 #187A25
square
#183C7A #7A186D #7A5618 #187A25
split-complementary
#183C7A #7A2518 #6D7A18
monochromatic
#050D1A #0E2347 #183C7A #2255AD #3571D7

Accessibility & contrast

On white

10.68
#183C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C7A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C7A#FFFFFF#000000##FFFFFF
##183C7A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183c7a;
/* rgb */ color: rgb(24, 60, 122);
/* oklch */ color: oklch(36.8% 0.114 260.5);
Tailwind
colors: {
  custom: {
    50: '#6571a1',
    500: '#183c7a',
    950: '#000000',
  },
}
SCSS
$custom: #183c7a;
$custom-light: #6571a1;
$custom-dark: #000000;
JSON
{
  "hex": "#183c7a",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 217.959,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36788,
    "c": 0.11373,
    "h": 260.5
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#183C7A
secondary
#AF863F
accent
#AB3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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