#2C57C8#2C57C8

#2C57C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.183 H 264.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2C57C8
RGBrgb(44, 87, 200)
HSLhsl(223, 64%, 48%)
HSVhsv(223, 78%, 78%)
CMYKcmyk(78%, 56.5%, 0%, 21.6%)
CIE-LABlab(40.44, 26.12, -62.99)
CIE-LCHlch(40.44, 68.19, 292.52°)
OKLaboklab(49.61% -0.0169 -0.1818)
OKLCHoklch(49.61% 0.183 264.7)
XYZxyz(14.8685, 11.5203, 56.0724)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57C8 #C89D2C
analogous
#2CA5C8 #2C57C8 #4F2CC8
triadic
#2C57C8 #C82C57 #57C82C
tetradic
#2C57C8 #C82CA5 #C89D2C #2CC84F
square
#2C57C8 #C82CA5 #C89D2C #2CC84F
split-complementary
#2C57C8 #C84F2C #A5C82C
monochromatic
#162B64 #214196 #2C57C8 #577BDA #89A3E5

Accessibility & contrast

On white

6.36
#2C57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2C57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57C8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57C8#FFFFFF#000000##FFFFFF
##2C57C81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c57c8;
/* rgb */ color: rgb(44, 87, 200);
/* oklch */ color: oklch(49.6% 0.183 264.7);
Tailwind
colors: {
  custom: {
    50: '#7d85da',
    500: '#2c57c8',
    950: '#000000',
  },
}
SCSS
$custom: #2c57c8;
$custom-light: #7d85da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57c8",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 223.462,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.18262,
    "h": 264.7
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#2C57C8
secondary
#CFB981
accent
#B941E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2C57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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