#2C57BF#2C57BF

#2C57BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.171 H 264.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2C57BF
RGBrgb(44, 87, 191)
HSLhsl(222, 63%, 46%)
HSVhsv(222, 77%, 75%)
CMYKcmyk(77%, 54.5%, 0%, 25.1%)
CIE-LABlab(39.77, 22.72, -58.86)
CIE-LCHlch(39.77, 63.09, 291.10°)
OKLaboklab(48.89% -0.0175 -0.1697)
OKLCHoklch(48.89% 0.171 264.1)
XYZxyz(13.8475, 11.1119, 50.6951)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57BF #BF942C
analogous
#2CA0BF #2C57BF #4A2CBF
triadic
#2C57BF #BF2C57 #57BF2C
tetradic
#2C57BF #BF2CA0 #BF942C #2CBF4A
square
#2C57BF #BF2CA0 #BF942C #2CBF4A
split-complementary
#2C57BF #BF4A2C #A0BF2C
monochromatic
#152A5C #21408D #2C57BF #5178D7 #839FE2

Accessibility & contrast

On white

6.52
#2C57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2C57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57BF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57BF#FFFFFF#000000##FFFFFF
##2C57BF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c57bf;
/* rgb */ color: rgb(44, 87, 191);
/* oklch */ color: oklch(48.9% 0.171 264.1);
Tailwind
colors: {
  custom: {
    50: '#7b85d3',
    500: '#2c57bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c57bf;
$custom-light: #7b85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57bf",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 222.449,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.17059,
    "h": 264.1
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#2C57BF
secondary
#CCB47B
accent
#B642E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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