#2057A4#2057A4

#2057A4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.137 H 257.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2057A4
RGBrgb(32, 87, 164)
HSLhsl(215, 67%, 38%)
HSVhsv(215, 80%, 64%)
CMYKcmyk(80.5%, 47%, 0%, 35.7%)
CIE-LABlab(37.49, 10.90, -46.64)
CIE-LCHlch(37.49, 47.90, 283.15°)
OKLaboklab(46.43% -0.0291 -0.1339)
OKLCHoklch(46.43% 0.137 257.8)
XYZxyz(10.7022, 9.8025, 36.4428)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2057A4 #A46D20
analogous
#2099A4 #2057A4 #2B20A4
triadic
#2057A4 #A42057 #57A420
tetradic
#2057A4 #A42099 #A46D20 #20A42B
square
#2057A4 #A42099 #A46D20 #20A42B
split-complementary
#2057A4 #A42B20 #99A420
monochromatic
#0C213E #163C71 #2057A4 #2B72D6 #5F94E0

Accessibility & contrast

On white

7.09
#2057A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2057A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2057A4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2057A4#FFFFFF#000000##FFFFFF
##2057A41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#0953A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2057a4;
/* rgb */ color: rgb(32, 87, 164);
/* oklch */ color: oklch(46.4% 0.137 257.8);
Tailwind
colors: {
  custom: {
    50: '#7185bf',
    500: '#2057a4',
    950: '#000000',
  },
}
SCSS
$custom: #2057a4;
$custom-light: #7185bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2057a4",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 215,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.13705,
    "h": 257.8
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#2057A4
secondary
#C4995C
accent
#A23EEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2057A4

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

Preview Lab → · Contrast checker → · Palette generator →

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