#2B57B2#2B57B2

#2B57B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.153 H 262.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2B57B2
RGBrgb(43, 87, 178)
HSLhsl(220, 61%, 43%)
HSVhsv(220, 76%, 70%)
CMYKcmyk(75.8%, 51.1%, 0%, 30.2%)
CIE-LABlab(38.80, 17.64, -52.81)
CIE-LCHlch(38.80, 55.68, 288.47°)
OKLaboklab(47.85% -0.0196 -0.1519)
OKLCHoklch(47.85% 0.153 262.7)
XYZxyz(12.4375, 10.5429, 43.4903)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B57B2 #B2862B
analogous
#2B9AB2 #2B57B2 #422BB2
triadic
#2B57B2 #B22B57 #57B22B
tetradic
#2B57B2 #B22B9A #B2862B #2BB242
square
#2B57B2 #B22B9A #B2862B #2BB242
split-complementary
#2B57B2 #B2422B #9AB22B
monochromatic
#13274F #1F3F81 #2B57B2 #4875D3 #799ADF

Accessibility & contrast

On white

6.76
#2B57B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B57B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B57B2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B57B2#FFFFFF#000000##FFFFFF
##2B57B21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b57b2;
/* rgb */ color: rgb(43, 87, 178);
/* oklch */ color: oklch(47.8% 0.153 262.7);
Tailwind
colors: {
  custom: {
    50: '#7885ca',
    500: '#2b57b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b57b2;
$custom-light: #7885ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b57b2",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 220.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.15317,
    "h": 262.7
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#2B57B2
secondary
#C7AB72
accent
#B044E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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