#2D57DC#2D57DC

#2D57DC is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.3% C 0.208 H 265.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2D57DC
RGBrgb(45, 87, 220)
HSLhsl(226, 71%, 52%)
HSVhsv(226, 80%, 86%)
CMYKcmyk(79.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(42.06, 33.66, -71.85)
CIE-LCHlch(42.06, 79.34, 295.11°)
OKLaboklab(51.32% -0.0155 -0.2078)
OKLCHoklch(51.32% 0.208 265.7)
XYZxyz(17.4041, 12.5395, 69.1994)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57DC #DCB22D
analogous
#2DAFDC #2D57DC #5B2DDC
triadic
#2D57DC #DC2D57 #57DC2D
tetradic
#2D57DC #DC2DAF #DCB22D #2DDC5B
square
#2D57DC #DC2DAF #DCB22D #2DDC5B
split-complementary
#2D57DC #DC5B2D #AFDC2D
monochromatic
#142D7A #1D40AF #2D57DC #6181E5 #96ABED

Accessibility & contrast

On white

5.99
#2D57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57DC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57DC#FFFFFF#000000##FFFFFF
##2D57DC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d57dc;
/* rgb */ color: rgb(45, 87, 220);
/* oklch */ color: oklch(51.3% 0.208 265.7);
Tailwind
colors: {
  custom: {
    50: '#8286e8',
    500: '#2d57dc',
    950: '#000000',
  },
}
SCSS
$custom: #2d57dc;
$custom-light: #8286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57dc",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 225.6,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.2084,
    "h": 265.7
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#2D57DC
secondary
#D9C68C
accent
#C33AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #2D57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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