#2057B3#2057B3

#2057B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.158 H 260.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2057B3
RGBrgb(32, 87, 179)
HSLhsl(218, 70%, 41%)
HSVhsv(218, 82%, 70%)
CMYKcmyk(82.1%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.51, 16.83, -53.88)
CIE-LCHlch(38.51, 56.45, 287.35°)
OKLaboklab(47.55% -0.0267 -0.1552)
OKLCHoklch(47.55% 0.158 260.2)
XYZxyz(12.1376, 10.3767, 44.0023)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2057B3 #B37C20
analogous
#20A1B3 #2057B3 #3320B3
triadic
#2057B3 #B32057 #57B320
tetradic
#2057B3 #B320A1 #B37C20 #20B333
square
#2057B3 #B320A1 #B37C20 #20B333
split-complementary
#2057B3 #B33320 #A1B320
monochromatic
#0D254B #173E7F #2057B3 #3573DB #6997E4

Accessibility & contrast

On white

6.83
#2057B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2057B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2057B3#FFFFFF#000000##FFFFFF
##2057B31.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2057b3;
/* rgb */ color: rgb(32, 87, 179);
/* oklch */ color: oklch(47.5% 0.158 260.2);
Tailwind
colors: {
  custom: {
    50: '#7585ca',
    500: '#2057b3',
    950: '#000000',
  },
}
SCSS
$custom: #2057b3;
$custom-light: #7585ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2057b3",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 217.551,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47545,
    "c": 0.15752,
    "h": 260.2
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#2057B3
secondary
#CAA465
accent
#AA3BEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2057B3

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

Preview Lab → · Contrast checker → · Palette generator →

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