#2B57C2#2B57C2

#2B57C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.175 H 264.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2B57C2
RGBrgb(43, 87, 194)
HSLhsl(223, 64%, 46%)
HSVhsv(223, 78%, 76%)
CMYKcmyk(77.8%, 55.2%, 0%, 23.9%)
CIE-LABlab(39.95, 23.74, -60.31)
CIE-LCHlch(39.95, 64.81, 291.49°)
OKLaboklab(49.09% -0.018 -0.174)
OKLCHoklch(49.09% 0.175 264.1)
XYZxyz(14.1386, 11.2234, 52.4497)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57C2 #C2962B
analogous
#2BA3C2 #2B57C2 #4B2BC2
triadic
#2B57C2 #C22B57 #57C22B
tetradic
#2B57C2 #C22BA3 #C2962B #2BC24B
square
#2B57C2 #C22BA3 #C2962B #2BC24B
split-complementary
#2B57C2 #C24B2B #A3C22B
monochromatic
#152A5E #204190 #2B57C2 #5279D9 #84A0E4

Accessibility & contrast

On white

6.47
#2B57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57C2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57C2#FFFFFF#000000##FFFFFF
##2B57C21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b57c2;
/* rgb */ color: rgb(43, 87, 194);
/* oklch */ color: oklch(49.1% 0.175 264.1);
Tailwind
colors: {
  custom: {
    50: '#7b85d5',
    500: '#2b57c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b57c2;
$custom-light: #7b85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57c2",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 222.517,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.1749,
    "h": 264.1
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#2B57C2
secondary
#CDB57C
accent
#B641E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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