#183187#183187

#183187 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.147 H 266.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#183187
RGBrgb(24, 49, 135)
HSLhsl(226, 70%, 31%)
HSVhsv(226, 82%, 53%)
CMYKcmyk(82.2%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.13, 24.41, -50.63)
CIE-LCHlch(24.13, 56.21, 295.74°)
OKLaboklab(35.52% -0.0096 -0.1465)
OKLCHoklch(35.52% 0.147 266.2)
XYZxyz(5.8466, 4.1394, 23.4078)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183187 #876E18
analogous
#186887 #183187 #361887
triadic
#183187 #871831 #318718
tetradic
#183187 #871868 #876E18 #188736
square
#183187 #871868 #876E18 #188736
split-complementary
#183187 #873618 #688718
monochromatic
#060B1F #0F1E53 #183187 #2144BB #3D61DC

Accessibility & contrast

On white

11.49
#183187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#183187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183187
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183187#FFFFFF#000000##FFFFFF
##1831871.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183187;
/* rgb */ color: rgb(24, 49, 135);
/* oklch */ color: oklch(35.5% 0.147 266.2);
Tailwind
colors: {
  custom: {
    50: '#6968ab',
    500: '#183187',
    950: '#000000',
  },
}
SCSS
$custom: #183187;
$custom-light: #6968ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183187",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 226.486,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35522,
    "c": 0.14679,
    "h": 266.2
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#183187
secondary
#BB9F40
accent
#C53BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #183187

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

Preview Lab → · Contrast checker → · Palette generator →

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