#1827A0#1827A0

#1827A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.191 H 267.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1827A0
RGBrgb(24, 39, 160)
HSLhsl(233, 74%, 36%)
HSVhsv(233, 85%, 63%)
CMYKcmyk(85%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.27, 40.38, -65.82)
CIE-LCHlch(24.27, 77.22, 301.53°)
OKLaboklab(36.39% -0.0071 -0.1908)
OKLCHoklch(36.39% 0.191 267.9)
XYZxyz(7.4452, 4.1824, 33.6658)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1827A0 #A09118
analogous
#186BA0 #1827A0 #4D18A0
triadic
#1827A0 #A01827 #27A018
tetradic
#1827A0 #A0186B #A09118 #18A04D
square
#1827A0 #A0186B #A09118 #18A04D
split-complementary
#1827A0 #A04D18 #6BA018
monochromatic
#080D36 #101A6B #1827A0 #2034D5 #4E5FE4

Accessibility & contrast

On white

11.43
#1827A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1827A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1827A0#FFFFFF#000000##FFFFFF
##1827A01.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)
#0040A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1827a0;
/* rgb */ color: rgb(24, 39, 160);
/* oklch */ color: oklch(36.4% 0.191 267.9);
Tailwind
colors: {
  custom: {
    50: '#7162bd',
    500: '#1827a0',
    950: '#000000',
  },
}
SCSS
$custom: #1827a0;
$custom-light: #7162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1827a0",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 233.382,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.19091,
    "h": 267.9
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#1827A0
secondary
#C6B94D
accent
#DC37F1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1827A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1827A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva