#2C57B8#2C57B8

#2C57B8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.161 H 263.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2C57B8
RGBrgb(44, 87, 184)
HSLhsl(222, 61%, 45%)
HSVhsv(222, 76%, 72%)
CMYKcmyk(76.1%, 52.7%, 0%, 27.8%)
CIE-LABlab(39.26, 20.05, -55.59)
CIE-LCHlch(39.26, 59.10, 289.84°)
OKLaboklab(48.34% -0.0181 -0.1601)
OKLCHoklch(48.34% 0.161 263.5)
XYZxyz(13.0955, 10.8111, 46.7347)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57B8 #B88D2C
analogous
#2C9DB8 #2C57B8 #472CB8
triadic
#2C57B8 #B82C57 #57B82C
tetradic
#2C57B8 #B82C9D #B88D2C #2CB847
square
#2C57B8 #B82C9D #B88D2C #2CB847
split-complementary
#2C57B8 #B8472C #9DB82C
monochromatic
#142855 #204087 #2C57B8 #4D76D4 #7E9CE0

Accessibility & contrast

On white

6.64
#2C57B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2C57B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57B8
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57B8#FFFFFF#000000##FFFFFF
##2C57B81.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c57b8;
/* rgb */ color: rgb(44, 87, 184);
/* oklch */ color: oklch(48.3% 0.161 263.5);
Tailwind
colors: {
  custom: {
    50: '#7985ce',
    500: '#2c57b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c57b8;
$custom-light: #7985ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57b8",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 221.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.1611,
    "h": 263.5
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#2C57B8
secondary
#C9B077
accent
#B343E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C57B8

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

Preview Lab → · Contrast checker → · Palette generator →

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