#2B57BB#2B57BB

#2B57BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.165 H 263.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2B57BB
RGBrgb(43, 87, 187)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 77%, 73%)
CMYKcmyk(77%, 53.5%, 0%, 26.7%)
CIE-LABlab(39.44, 21.08, -57.06)
CIE-LCHlch(39.44, 60.83, 290.28°)
OKLaboklab(48.54% -0.0186 -0.1644)
OKLCHoklch(48.54% 0.165 263.5)
XYZxyz(13.3709, 10.9163, 48.4064)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57BB #BB8F2B
analogous
#2B9FBB #2B57BB #472BBB
triadic
#2B57BB #BB2B57 #57BB2B
tetradic
#2B57BB #BB2B9F #BB8F2B #2BBB47
square
#2B57BB #BB2B9F #BB8F2B #2BBB47
split-complementary
#2B57BB #BB472B #9FBB2B
monochromatic
#142957 #204089 #2B57BB #4D77D6 #7F9DE2

Accessibility & contrast

On white

6.60
#2B57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57BB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57BB#FFFFFF#000000##FFFFFF
##2B57BB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b57bb;
/* rgb */ color: rgb(43, 87, 187);
/* oklch */ color: oklch(48.5% 0.165 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a85d0',
    500: '#2b57bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b57bb;
$custom-light: #7a85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57bb",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 221.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.16546,
    "h": 263.5
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#2B57BB
secondary
#CAB178
accent
#B442E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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