#183774#183774

#183774 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.111 H 262.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#183774
RGBrgb(24, 55, 116)
HSLhsl(220, 66%, 27%)
HSVhsv(220, 79%, 45%)
CMYKcmyk(79.3%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.28, 12.39, -38.39)
CIE-LCHlch(24.28, 40.34, 287.89°)
OKLaboklab(35.14% -0.0153 -0.1104)
OKLCHoklch(35.14% 0.111 262.1)
XYZxyz(4.8941, 4.1870, 17.0698)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183774 #745518
analogous
#186574 #183774 #271874
triadic
#183774 #741837 #377418
tetradic
#183774 #741865 #745518 #187427
square
#183774 #741865 #745518 #187427
split-complementary
#183774 #742718 #657418
monochromatic
#050C19 #0E1F41 #183774 #224FA7 #3269D5

Accessibility & contrast

On white

11.43
#183774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#183774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183774
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183774#FFFFFF#000000##FFFFFF
##1837741.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183774;
/* rgb */ color: rgb(24, 55, 116);
/* oklch */ color: oklch(35.1% 0.111 262.1);
Tailwind
colors: {
  custom: {
    50: '#646d9c',
    500: '#183774',
    950: '#000000',
  },
}
SCSS
$custom: #183774;
$custom-light: #646d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183774",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 219.783,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35144,
    "c": 0.11148,
    "h": 262.1
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#183774
secondary
#A9853F
accent
#B03FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183774

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

Preview Lab → · Contrast checker → · Palette generator →

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