#2D57C3#2D57C3

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

Color values

HEX#2D57C3
RGBrgb(45, 87, 195)
HSLhsl(223, 63%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(76.9%, 55.4%, 0%, 23.5%)
CIE-LABlab(40.10, 24.34, -60.64)
CIE-LCHlch(40.10, 65.35, 291.87°)
OKLaboklab(49.24% -0.0165 -0.1749)
OKLCHoklch(49.24% 0.176 264.6)
XYZxyz(14.3372, 11.3128, 53.0471)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57C3 #C3992D
analogous
#2DA2C3 #2D57C3 #4E2DC3
triadic
#2D57C3 #C32D57 #57C32D
tetradic
#2D57C3 #C32DA2 #C3992D #2DC34E
square
#2D57C3 #C32DA2 #C3992D #2DC34E
split-complementary
#2D57C3 #C34E2D #A2C32D
monochromatic
#162B60 #224191 #2D57C3 #557AD8 #87A1E3

Accessibility & contrast

On white

6.44
#2D57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2D57C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57C3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57C3#FFFFFF#000000##FFFFFF
##2D57C31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d57c3;
/* rgb */ color: rgb(45, 87, 195);
/* oklch */ color: oklch(49.2% 0.176 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c85d6',
    500: '#2d57c3',
    950: '#000000',
  },
}
SCSS
$custom: #2d57c3;
$custom-light: #7c85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57c3",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 223.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.1757,
    "h": 264.6
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#2D57C3
secondary
#CDB77F
accent
#B842E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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