#2D57C0#2D57C0

#2D57C0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.172 H 264.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2D57C0
RGBrgb(45, 87, 192)
HSLhsl(223, 62%, 46%)
HSVhsv(223, 77%, 75%)
CMYKcmyk(76.6%, 54.7%, 0%, 24.7%)
CIE-LABlab(39.88, 23.21, -59.26)
CIE-LCHlch(39.88, 63.64, 291.39°)
OKLaboklab(49% -0.0167 -0.1709)
OKLCHoklch(49% 0.172 264.4)
XYZxyz(14.0014, 11.1785, 51.2787)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57C0 #C0962D
analogous
#2DA1C0 #2D57C0 #4D2DC0
triadic
#2D57C0 #C02D57 #57C02D
tetradic
#2D57C0 #C02DA1 #C0962D #2DC04D
square
#2D57C0 #C02DA1 #C0962D #2DC04D
split-complementary
#2D57C0 #C04D2D #A1C02D
monochromatic
#162A5D #21418E #2D57C0 #5379D7 #85A0E2

Accessibility & contrast

On white

6.49
#2D57C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2D57C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57C0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57C0#FFFFFF#000000##FFFFFF
##2D57C01.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d57c0;
/* rgb */ color: rgb(45, 87, 192);
/* oklch */ color: oklch(49.0% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c85d4',
    500: '#2d57c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d57c0;
$custom-light: #7c85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57c0",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 192
  },
  "hsl": {
    "h": 222.857,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.17167,
    "h": 264.4
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#2D57C0
secondary
#CCB57D
accent
#B743E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D57C0

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

Preview Lab → · Contrast checker → · Palette generator →

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