#2027A6#2027A6

#2027A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.196 H 269.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2027A6
RGBrgb(32, 39, 166)
HSLhsl(237, 68%, 39%)
HSVhsv(237, 81%, 65%)
CMYKcmyk(80.7%, 76.5%, 0%, 34.9%)
CIE-LABlab(25.29, 42.97, -67.75)
CIE-LCHlch(25.29, 80.23, 302.38°)
OKLaboklab(37.41% -0.0005 -0.1962)
OKLCHoklch(37.41% 0.196 269.9)
XYZxyz(8.2018, 4.5103, 36.5073)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2027A6 #A69F20
analogous
#206AA6 #2027A6 #5C20A6
triadic
#2027A6 #A62027 #27A620
tetradic
#2027A6 #A6206A #A69F20 #20A65C
square
#2027A6 #A6206A #A69F20 #20A65C
split-complementary
#2027A6 #A65C20 #6AA620
monochromatic
#0C0F3F #161B73 #2027A6 #2D36D6 #6067E0

Accessibility & contrast

On white

11.04
#2027A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2027A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2027A6
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2027A6#FFFFFF#000000##FFFFFF
##2027A61.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2027a6;
/* rgb */ color: rgb(32, 39, 166);
/* oklch */ color: oklch(37.4% 0.196 269.9);
Tailwind
colors: {
  custom: {
    50: '#7563c2',
    500: '#2027a6',
    950: '#000000',
  },
}
SCSS
$custom: #2027a6;
$custom-light: #7563c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2027a6",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 236.866,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.19625,
    "h": 269.9
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#2027A6
secondary
#C5C05D
accent
#E23DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2027A6

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

Preview Lab → · Contrast checker → · Palette generator →

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