#2027A0#2027A0

#2027A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.189 H 270.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2027A0
RGBrgb(32, 39, 160)
HSLhsl(237, 67%, 38%)
HSVhsv(237, 80%, 63%)
CMYKcmyk(80%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.62, 40.91, -65.21)
CIE-LCHlch(24.62, 76.98, 302.10°)
OKLaboklab(36.74% 0.0005 -0.1889)
OKLCHoklch(36.74% 0.189 270.2)
XYZxyz(7.6642, 4.2953, 33.6760)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2027A0 #A09920
analogous
#2067A0 #2027A0 #5920A0
triadic
#2027A0 #A02027 #27A020
tetradic
#2027A0 #A02067 #A09920 #20A059
square
#2027A0 #A02067 #A09920 #20A059
split-complementary
#2027A0 #A05920 #67A020
monochromatic
#0C0E3A #161B6D #2027A0 #2A33D3 #5C63DE

Accessibility & contrast

On white

11.30
#2027A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2027A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2027A0
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2027A0#FFFFFF#000000##FFFFFF
##2027A01.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2027a0;
/* rgb */ color: rgb(32, 39, 160);
/* oklch */ color: oklch(36.7% 0.189 270.2);
Tailwind
colors: {
  custom: {
    50: '#7463bd',
    500: '#2027a0',
    950: '#000000',
  },
}
SCSS
$custom: #2027a0;
$custom-light: #7463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2027a0",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 236.719,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.18888,
    "h": 270.2
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#2027A0
secondary
#C3BD59
accent
#E03EEA
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2027A0

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

Preview Lab → · Contrast checker → · Palette generator →

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