#2017B3#2017B3

#2017B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.224 H 270.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2017B3
RGBrgb(32, 23, 179)
HSLhsl(243, 77%, 40%)
HSVhsv(243, 87%, 70%)
CMYKcmyk(82.1%, 87.2%, 0%, 29.8%)
CIE-LABlab(24.24, 54.77, -77.32)
CIE-LCHlch(24.24, 94.75, 305.31°)
OKLaboklab(37.13% 0.0003 -0.2237)
OKLCHoklch(37.13% 0.224 270.1)
XYZxyz(9.0360, 4.1735, 42.9684)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2017B3 #AAB317
analogous
#175CB3 #2017B3 #6E17B3
triadic
#2017B3 #B32017 #17B320
tetradic
#2017B3 #B3175C #AAB317 #17B36E
square
#2017B3 #B3175C #AAB317 #17B36E
split-complementary
#2017B3 #B36E17 #5CB317
monochromatic
#0D0947 #16107D #2017B3 #2F24E3 #635BEA

Accessibility & contrast

On white

11.44
#2017B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2017B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2017B3
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2017B3#FFFFFF#000000##FFFFFF
##2017B31.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0031B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2017b3;
/* rgb */ color: rgb(32, 23, 179);
/* oklch */ color: oklch(37.1% 0.224 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a5bcb',
    500: '#2017b3',
    950: '#000000',
  },
}
SCSS
$custom: #2017b3;
$custom-light: #7a5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2017b3",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 243.462,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.22368,
    "h": 270.1
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#2017B3
secondary
#C7CD58
accent
#F434E9
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2017B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2017B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva