#183874#183874

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

Color values

HEX#183874
RGBrgb(24, 56, 116)
HSLhsl(219, 66%, 27%)
HSVhsv(219, 79%, 45%)
CMYKcmyk(79.3%, 51.7%, 0%, 54.5%)
CIE-LABlab(24.59, 11.68, -37.90)
CIE-LCHlch(24.59, 39.66, 287.13°)
OKLaboklab(35.38% -0.0162 -0.1089)
OKLCHoklch(35.38% 0.11 261.5)
XYZxyz(4.9421, 4.2829, 17.0858)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183874 #745418
analogous
#186674 #183874 #261874
triadic
#183874 #741838 #387418
tetradic
#183874 #741866 #745418 #187426
square
#183874 #741866 #745418 #187426
split-complementary
#183874 #742618 #667418
monochromatic
#050C19 #0E2041 #183874 #2250A7 #326AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##183874#FFFFFF#000000##FFFFFF
##1838741.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)
#143F76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183874;
/* rgb */ color: rgb(24, 56, 116);
/* oklch */ color: oklch(35.4% 0.110 261.5);
Tailwind
colors: {
  custom: {
    50: '#646e9c',
    500: '#183874',
    950: '#000000',
  },
}
SCSS
$custom: #183874;
$custom-light: #646e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183874",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 219.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.11015,
    "h": 261.5
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#183874
secondary
#A9843F
accent
#AE3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183874

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

Preview Lab → · Contrast checker → · Palette generator →

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