#2057AA#2057AA

#2057AA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.145 H 258.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2057AA
RGBrgb(32, 87, 170)
HSLhsl(216, 68%, 40%)
HSVhsv(216, 81%, 67%)
CMYKcmyk(81.2%, 48.8%, 0%, 33.3%)
CIE-LABlab(37.89, 13.28, -49.57)
CIE-LCHlch(37.89, 51.32, 284.99°)
OKLaboklab(46.87% -0.028 -0.1425)
OKLCHoklch(46.87% 0.145 258.9)
XYZxyz(11.2569, 10.0244, 39.3640)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2057AA #AA7320
analogous
#209CAA #2057AA #2E20AA
triadic
#2057AA #AA2057 #57AA20
tetradic
#2057AA #AA209C #AA7320 #20AA2E
square
#2057AA #AA209C #AA7320 #20AA2E
split-complementary
#2057AA #AA2E20 #9CAA20
monochromatic
#0D2243 #163D76 #2057AA #2F72D8 #6395E2

Accessibility & contrast

On white

6.99
#2057AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2057AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2057AA#FFFFFF#000000##FFFFFF
##2057AA1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2057aa;
/* rgb */ color: rgb(32, 87, 170);
/* oklch */ color: oklch(46.9% 0.145 258.9);
Tailwind
colors: {
  custom: {
    50: '#7285c4',
    500: '#2057aa',
    950: '#000000',
  },
}
SCSS
$custom: #2057aa;
$custom-light: #7285c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2057aa",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 216.087,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.14526,
    "h": 258.9
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#2057AA
secondary
#C79D5F
accent
#A63DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2057AA

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

Preview Lab → · Contrast checker → · Palette generator →

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