#2027BD#2027BD

#2027BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.223 H 268.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2027BD
RGBrgb(32, 39, 189)
HSLhsl(237, 71%, 43%)
HSVhsv(237, 83%, 74%)
CMYKcmyk(83.1%, 79.4%, 0%, 25.9%)
CIE-LABlab(27.93, 50.59, -77.14)
CIE-LCHlch(27.93, 92.25, 303.26°)
OKLaboklab(40.04% -0.0044 -0.2234)
OKLCHoklch(40.04% 0.223 268.9)
XYZxyz(10.5033, 5.4310, 48.6289)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2027BD #BDB620
analogous
#2075BD #2027BD #6720BD
triadic
#2027BD #BD2027 #27BD20
tetradic
#2027BD #BD2075 #BDB620 #20BD67
square
#2027BD #BD2075 #BDB620 #20BD67
split-complementary
#2027BD #BD6720 #75BD20
monochromatic
#0E1154 #171C89 #2027BD #3C43DE #7176E7

Accessibility & contrast

On white

10.07
#2027BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2027BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2027BD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2027BD#FFFFFF#000000##FFFFFF
##2027BD1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2027bd;
/* rgb */ color: rgb(32, 39, 189);
/* oklch */ color: oklch(40.0% 0.223 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b64d2',
    500: '#2027bd',
    950: '#000000',
  },
}
SCSS
$custom: #2027bd;
$custom-light: #7b64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2027bd",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 237.325,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.22349,
    "h": 268.9
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#2027BD
secondary
#CDC96B
accent
#E63AEE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2027BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2027BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva