#2055A8#2055A8

#2055A8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.145 H 259.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2055A8
RGBrgb(32, 85, 168)
HSLhsl(217, 68%, 39%)
HSVhsv(217, 81%, 66%)
CMYKcmyk(81%, 49.4%, 0%, 34.1%)
CIE-LABlab(37.17, 13.81, -49.54)
CIE-LCHlch(37.17, 51.43, 285.58°)
OKLaboklab(46.28% -0.0268 -0.1425)
OKLCHoklch(46.28% 0.145 259.3)
XYZxyz(10.9095, 9.6299, 38.3220)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2055A8 #A87320
analogous
#2099A8 #2055A8 #2F20A8
triadic
#2055A8 #A82055 #55A820
tetradic
#2055A8 #A82099 #A87320 #20A82F
square
#2055A8 #A82099 #A87320 #20A82F
split-complementary
#2055A8 #A82F20 #99A820
monochromatic
#0C2141 #163B75 #2055A8 #2E70D7 #6193E1

Accessibility & contrast

On white

7.18
#2055A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2055A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2055A8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2055A8#FFFFFF#000000##FFFFFF
##2055A81.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2055a8;
/* rgb */ color: rgb(32, 85, 168);
/* oklch */ color: oklch(46.3% 0.145 259.3);
Tailwind
colors: {
  custom: {
    50: '#7284c2',
    500: '#2055a8',
    950: '#000000',
  },
}
SCSS
$custom: #2055a8;
$custom-light: #7284c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2055a8",
  "rgb": {
    "r": 32,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 216.618,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.14498,
    "h": 259.3
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#2055A8
secondary
#C69D5E
accent
#A73DEB
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2055A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2055A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva