#183778#183778

#183778 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.117 H 262.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#183778
RGBrgb(24, 55, 120)
HSLhsl(221, 67%, 28%)
HSVhsv(221, 80%, 47%)
CMYKcmyk(80%, 54.2%, 0%, 52.9%)
CIE-LABlab(24.58, 14.05, -40.45)
CIE-LCHlch(24.58, 42.82, 289.16°)
OKLaboklab(35.47% -0.0148 -0.1165)
OKLCHoklch(35.47% 0.117 262.7)
XYZxyz(5.1318, 4.2820, 18.3217)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183778 #785918
analogous
#186778 #183778 #291878
triadic
#183778 #781837 #377818
tetradic
#183778 #781867 #785918 #187829
square
#183778 #781867 #785918 #187829
split-complementary
#183778 #782918 #677818
monochromatic
#050C1A #0E2045 #183778 #224EAB #3468D6

Accessibility & contrast

On white

11.31
#183778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183778
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183778#FFFFFF#000000##FFFFFF
##1837781.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3F7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183778;
/* rgb */ color: rgb(24, 55, 120);
/* oklch */ color: oklch(35.5% 0.117 262.7);
Tailwind
colors: {
  custom: {
    50: '#656d9f',
    500: '#183778',
    950: '#000000',
  },
}
SCSS
$custom: #183778;
$custom-light: #656d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183778",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 220.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.1174,
    "h": 262.7
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#183778
secondary
#AD893F
accent
#B23EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183778

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

Preview Lab → · Contrast checker → · Palette generator →

#183778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva