#2D57C1#2D57C1

#2D57C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.173 H 264.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2D57C1
RGBrgb(45, 87, 193)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(76.7%, 54.9%, 0%, 24.3%)
CIE-LABlab(39.95, 23.59, -59.72)
CIE-LCHlch(39.95, 64.21, 291.55°)
OKLaboklab(49.08% -0.0166 -0.1722)
OKLCHoklch(49.08% 0.173 264.5)
XYZxyz(14.1126, 11.2229, 51.8642)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57C1 #C1972D
analogous
#2DA1C1 #2D57C1 #4D2DC1
triadic
#2D57C1 #C12D57 #57C12D
tetradic
#2D57C1 #C12DA1 #C1972D #2DC14D
square
#2D57C1 #C12DA1 #C1972D #2DC14D
split-complementary
#2D57C1 #C14D2D #A1C12D
monochromatic
#162A5E #21418F #2D57C1 #5479D7 #86A0E3

Accessibility & contrast

On white

6.47
#2D57C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D57C1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57C1#FFFFFF#000000##FFFFFF
##2D57C11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d57c1;
/* rgb */ color: rgb(45, 87, 193);
/* oklch */ color: oklch(49.1% 0.173 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c85d4',
    500: '#2d57c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d57c1;
$custom-light: #7c85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57c1",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 193
  },
  "hsl": {
    "h": 222.973,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49084,
    "c": 0.17301,
    "h": 264.5
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D57C1

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

Preview Lab → · Contrast checker → · Palette generator →

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