#2057AC#2057AC

#2057AC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.148 H 259.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2057AC
RGBrgb(32, 87, 172)
HSLhsl(216, 69%, 40%)
HSVhsv(216, 81%, 67%)
CMYKcmyk(81.4%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.02, 14.07, -50.54)
CIE-LCHlch(38.02, 52.46, 285.56°)
OKLaboklab(47.02% -0.0277 -0.1454)
OKLCHoklch(47.02% 0.148 259.2)
XYZxyz(11.4475, 10.1006, 40.3680)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2057AC #AC7520
analogous
#209DAC #2057AC #2F20AC
triadic
#2057AC #AC2057 #57AC20
tetradic
#2057AC #AC209D #AC7520 #20AC2F
square
#2057AC #AC209D #AC7520 #20AC2F
split-complementary
#2057AC #AC2F20 #9DAC20
monochromatic
#0D2345 #163D78 #2057AC #3173D9 #6496E2

Accessibility & contrast

On white

6.95
#2057AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2057AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2057AC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2057AC#FFFFFF#000000##FFFFFF
##2057AC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2057ac;
/* rgb */ color: rgb(32, 87, 172);
/* oklch */ color: oklch(47.0% 0.148 259.2);
Tailwind
colors: {
  custom: {
    50: '#7385c5',
    500: '#2057ac',
    950: '#000000',
  },
}
SCSS
$custom: #2057ac;
$custom-light: #7385c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2057ac",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 216.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.148,
    "h": 259.2
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#2057AC
secondary
#C79F60
accent
#A73CEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2057AC

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

Preview Lab → · Contrast checker → · Palette generator →

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