#183875#183875

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

Color values

HEX#183875
RGBrgb(24, 56, 117)
HSLhsl(219, 66%, 28%)
HSVhsv(219, 79%, 46%)
CMYKcmyk(79.5%, 52.1%, 0%, 54.1%)
CIE-LABlab(24.66, 12.10, -38.42)
CIE-LCHlch(24.66, 40.28, 287.48°)
OKLaboklab(35.46% -0.0161 -0.1105)
OKLCHoklch(35.46% 0.112 261.7)
XYZxyz(5.0006, 4.3063, 17.3938)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183875 #755518
analogous
#186675 #183875 #271875
triadic
#183875 #751838 #387518
tetradic
#183875 #751866 #755518 #187527
square
#183875 #751866 #755518 #187527
split-complementary
#183875 #752718 #667518
monochromatic
#050C19 #0E2042 #183875 #2250A8 #326AD5

Accessibility & contrast

On white

11.28
#183875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183875
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183875#FFFFFF#000000##FFFFFF
##1838751.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F77
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183875;
/* rgb */ color: rgb(24, 56, 117);
/* oklch */ color: oklch(35.5% 0.112 261.7);
Tailwind
colors: {
  custom: {
    50: '#646e9d',
    500: '#183875',
    950: '#000000',
  },
}
SCSS
$custom: #183875;
$custom-light: #646e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#183875",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 219.355,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35457,
    "c": 0.11163,
    "h": 261.7
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183875

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

Preview Lab → · Contrast checker → · Palette generator →

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