#2D57C2#2D57C2

#2D57C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.174 H 264.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2D57C2
RGBrgb(45, 87, 194)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(76.8%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.03, 23.96, -60.18)
CIE-LCHlch(40.03, 64.78, 291.71°)
OKLaboklab(49.16% -0.0165 -0.1736)
OKLCHoklch(49.16% 0.174 264.6)
XYZxyz(14.2245, 11.2677, 52.4537)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57C2 #C2982D
analogous
#2DA2C2 #2D57C2 #4D2DC2
triadic
#2D57C2 #C22D57 #57C22D
tetradic
#2D57C2 #C22DA2 #C2982D #2DC24D
square
#2D57C2 #C22DA2 #C2982D #2DC24D
split-complementary
#2D57C2 #C24D2D #A2C22D
monochromatic
#162A5F #214190 #2D57C2 #557AD7 #86A0E3

Accessibility & contrast

On white

6.45
#2D57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2D57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57C2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57C2#FFFFFF#000000##FFFFFF
##2D57C21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d57c2;
/* rgb */ color: rgb(45, 87, 194);
/* oklch */ color: oklch(49.2% 0.174 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c85d5',
    500: '#2d57c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d57c2;
$custom-light: #7c85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57c2",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 223.087,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.17436,
    "h": 264.6
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#2D57C2
secondary
#CDB67E
accent
#B742E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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