#2057A5#2057A5

#2057A5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.138 H 258.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2057A5
RGBrgb(32, 87, 165)
HSLhsl(215, 68%, 39%)
HSVhsv(215, 81%, 65%)
CMYKcmyk(80.6%, 47.3%, 0%, 35.3%)
CIE-LABlab(37.55, 11.30, -47.13)
CIE-LCHlch(37.55, 48.47, 283.48°)
OKLaboklab(46.5% -0.0289 -0.1354)
OKLCHoklch(46.5% 0.138 258)
XYZxyz(10.7929, 9.8388, 36.9203)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2057A5 #A56E20
analogous
#2099A5 #2057A5 #2B20A5
triadic
#2057A5 #A52057 #57A520
tetradic
#2057A5 #A52099 #A56E20 #20A52B
square
#2057A5 #A52099 #A56E20 #20A52B
split-complementary
#2057A5 #A52B20 #99A520
monochromatic
#0C213E #163C72 #2057A5 #2C72D6 #5F95E0

Accessibility & contrast

On white

7.08
#2057A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2057A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2057A5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2057A5#FFFFFF#000000##FFFFFF
##2057A51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#0553A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2057a5;
/* rgb */ color: rgb(32, 87, 165);
/* oklch */ color: oklch(46.5% 0.138 258.0);
Tailwind
colors: {
  custom: {
    50: '#7185c0',
    500: '#2057a5',
    950: '#000000',
  },
}
SCSS
$custom: #2057a5;
$custom-light: #7185c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2057a5",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 165
  },
  "hsl": {
    "h": 215.188,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.13842,
    "h": 258
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#2057A5
secondary
#C5995C
accent
#A33DEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2057A5

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

Preview Lab → · Contrast checker → · Palette generator →

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