#2B57B7#2B57B7

#2B57B7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.160 H 263.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2B57B7
RGBrgb(43, 87, 183)
HSLhsl(221, 62%, 44%)
HSVhsv(221, 77%, 72%)
CMYKcmyk(76.5%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.15, 19.55, -55.18)
CIE-LCHlch(39.15, 58.54, 289.51°)
OKLaboklab(48.23% -0.019 -0.1589)
OKLCHoklch(48.23% 0.16 263.2)
XYZxyz(12.9486, 10.7474, 46.1826)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57B7 #B78B2B
analogous
#2B9DB7 #2B57B7 #452BB7
triadic
#2B57B7 #B72B57 #57B72B
tetradic
#2B57B7 #B72B9D #B78B2B #2BB745
square
#2B57B7 #B72B9D #B78B2B #2BB745
split-complementary
#2B57B7 #B7452B #9DB72B
monochromatic
#142854 #1F3F85 #2B57B7 #4B76D5 #7C9CE0

Accessibility & contrast

On white

6.67
#2B57B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B57B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57B7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57B7#FFFFFF#000000##FFFFFF
##2B57B71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b57b7;
/* rgb */ color: rgb(43, 87, 183);
/* oklch */ color: oklch(48.2% 0.160 263.2);
Tailwind
colors: {
  custom: {
    50: '#7985cd',
    500: '#2b57b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b57b7;
$custom-light: #7985cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57b7",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 221.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.16001,
    "h": 263.2
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#2B57B7
secondary
#C9AE75
accent
#B243E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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