#2B57BD#2B57BD

#2B57BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.168 H 263.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2B57BD
RGBrgb(43, 87, 189)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 77%, 74%)
CMYKcmyk(77.2%, 54%, 0%, 25.9%)
CIE-LABlab(39.58, 21.84, -57.99)
CIE-LCHlch(39.58, 61.97, 290.64°)
OKLaboklab(48.69% -0.0184 -0.1672)
OKLCHoklch(48.69% 0.168 263.7)
XYZxyz(13.5865, 11.0026, 49.5419)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57BD #BD912B
analogous
#2BA0BD #2B57BD #482BBD
triadic
#2B57BD #BD2B57 #57BD2B
tetradic
#2B57BD #BD2BA0 #BD912B #2BBD48
square
#2B57BD #BD2BA0 #BD912B #2BBD48
split-complementary
#2B57BD #BD482B #A0BD2B
monochromatic
#142959 #20408B #2B57BD #4E77D7 #809EE2

Accessibility & contrast

On white

6.56
#2B57BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B57BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57BD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57BD#FFFFFF#000000##FFFFFF
##2B57BD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b57bd;
/* rgb */ color: rgb(43, 87, 189);
/* oklch */ color: oklch(48.7% 0.168 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a85d2',
    500: '#2b57bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b57bd;
$custom-light: #7a85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57bd",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 221.918,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.16817,
    "h": 263.7
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#2B57BD
secondary
#CBB279
accent
#B542E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B57BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2B57BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva