#2027B3#2027B3

#2027B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.212 H 269.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2027B3
RGBrgb(32, 39, 179)
HSLhsl(237, 70%, 41%)
HSVhsv(237, 82%, 70%)
CMYKcmyk(82.1%, 78.2%, 0%, 29.8%)
CIE-LABlab(26.77, 47.33, -73.12)
CIE-LCHlch(26.77, 87.10, 302.91°)
OKLaboklab(38.89% -0.0027 -0.2118)
OKLCHoklch(38.89% 0.212 269.3)
XYZxyz(9.4551, 5.0117, 43.1081)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2027B3 #B3AC20
analogous
#2071B3 #2027B3 #6320B3
triadic
#2027B3 #B32027 #27B320
tetradic
#2027B3 #B32071 #B3AC20 #20B363
square
#2027B3 #B32071 #B3AC20 #20B363
split-complementary
#2027B3 #B36320 #71B320
monochromatic
#0D104B #171C7F #2027B3 #353DDB #696FE4

Accessibility & contrast

On white

10.49
#2027B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2027B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2027B3
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2027B3#FFFFFF#000000##FFFFFF
##2027B31.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2027b3;
/* rgb */ color: rgb(32, 39, 179);
/* oklch */ color: oklch(38.9% 0.212 269.3);
Tailwind
colors: {
  custom: {
    50: '#7964cb',
    500: '#2027b3',
    950: '#000000',
  },
}
SCSS
$custom: #2027b3;
$custom-light: #7964cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2027b3",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 237.143,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.21184,
    "h": 269.3
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#2027B3
secondary
#CAC565
accent
#E43BEC
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2027B3

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

Preview Lab → · Contrast checker → · Palette generator →

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