#2B57C0#2B57C0

#2B57C0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.172 H 263.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2B57C0
RGBrgb(43, 87, 192)
HSLhsl(222, 63%, 46%)
HSVhsv(222, 78%, 75%)
CMYKcmyk(77.6%, 54.7%, 0%, 24.7%)
CIE-LABlab(39.81, 22.98, -59.38)
CIE-LCHlch(39.81, 63.68, 291.16°)
OKLaboklab(48.93% -0.0182 -0.1713)
OKLCHoklch(48.93% 0.172 263.9)
XYZxyz(13.9155, 11.1342, 51.2747)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57C0 #C0942B
analogous
#2BA1C0 #2B57C0 #492BC0
triadic
#2B57C0 #C02B57 #57C02B
tetradic
#2B57C0 #C02BA1 #C0942B #2BC049
square
#2B57C0 #C02BA1 #C0942B #2BC049
split-complementary
#2B57C0 #C0492B #A1C02B
monochromatic
#152A5C #20408E #2B57C0 #5078D8 #829FE3

Accessibility & contrast

On white

6.51
#2B57C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2B57C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57C0
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57C0#FFFFFF#000000##FFFFFF
##2B57C01.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b57c0;
/* rgb */ color: rgb(43, 87, 192);
/* oklch */ color: oklch(48.9% 0.172 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b85d4',
    500: '#2b57c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b57c0;
$custom-light: #7b85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57c0",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 192
  },
  "hsl": {
    "h": 222.282,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.17221,
    "h": 263.9
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#2B57C0
secondary
#CCB47B
accent
#B641E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B57C0

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

Preview Lab → · Contrast checker → · Palette generator →

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