#2057A8#2057A8

#2057A8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.143 H 258.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2057A8
RGBrgb(32, 87, 168)
HSLhsl(216, 68%, 39%)
HSVhsv(216, 81%, 66%)
CMYKcmyk(81%, 48.2%, 0%, 34.1%)
CIE-LABlab(37.75, 12.48, -48.60)
CIE-LCHlch(37.75, 50.18, 284.41°)
OKLaboklab(46.72% -0.0284 -0.1397)
OKLCHoklch(46.72% 0.143 258.5)
XYZxyz(11.0691, 9.9493, 38.3752)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2057A8 #A87120
analogous
#209BA8 #2057A8 #2D20A8
triadic
#2057A8 #A82057 #57A820
tetradic
#2057A8 #A8209B #A87120 #20A82D
square
#2057A8 #A8209B #A87120 #20A82D
split-complementary
#2057A8 #A82D20 #9BA820
monochromatic
#0C2241 #163C75 #2057A8 #2E72D7 #6195E1

Accessibility & contrast

On white

7.02
#2057A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2057A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2057A8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2057A8#FFFFFF#000000##FFFFFF
##2057A81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2057a8;
/* rgb */ color: rgb(32, 87, 168);
/* oklch */ color: oklch(46.7% 0.143 258.5);
Tailwind
colors: {
  custom: {
    50: '#7285c2',
    500: '#2057a8',
    950: '#000000',
  },
}
SCSS
$custom: #2057a8;
$custom-light: #7285c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2057a8",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 215.735,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.14253,
    "h": 258.5
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#2057A8
secondary
#C69C5E
accent
#A53DEB
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2057A8

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

Preview Lab → · Contrast checker → · Palette generator →

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