#2D57BC#2D57BC

#2D57BC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.166 H 264.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2D57BC
RGBrgb(45, 87, 188)
HSLhsl(222, 61%, 46%)
HSVhsv(222, 76%, 74%)
CMYKcmyk(76.1%, 53.7%, 0%, 26.3%)
CIE-LABlab(39.59, 21.69, -57.40)
CIE-LCHlch(39.59, 61.36, 290.70°)
OKLaboklab(48.69% -0.017 -0.1654)
OKLCHoklch(48.69% 0.166 264.1)
XYZxyz(13.5643, 11.0036, 48.9762)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57BC #BC922D
analogous
#2D9EBC #2D57BC #4B2DBC
triadic
#2D57BC #BC2D57 #57BC2D
tetradic
#2D57BC #BC2D9E #BC922D #2DBC4B
square
#2D57BC #BC2D9E #BC922D #2DBC4B
split-complementary
#2D57BC #BC4B2D #9EBC2D
monochromatic
#152959 #21408B #2D57BC #5178D5 #829EE1

Accessibility & contrast

On white

6.56
#2D57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57BC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57BC#FFFFFF#000000##FFFFFF
##2D57BC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d57bc;
/* rgb */ color: rgb(45, 87, 188);
/* oklch */ color: oklch(48.7% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#7b85d1',
    500: '#2d57bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d57bc;
$custom-light: #7b85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57bc",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 222.378,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.16626,
    "h": 264.1
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#2D57BC
secondary
#CAB37B
accent
#B543E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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