#2C58B8#2C58B8

#2C58B8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.160 H 263.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2C58B8
RGBrgb(44, 88, 184)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 76%, 72%)
CMYKcmyk(76.1%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.54, 19.40, -55.14)
CIE-LCHlch(39.54, 58.45, 289.38°)
OKLaboklab(48.55% -0.0189 -0.1587)
OKLCHoklch(48.55% 0.16 263.2)
XYZxyz(13.1771, 10.9741, 46.7619)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58B8 #B88C2C
analogous
#2C9EB8 #2C58B8 #462CB8
triadic
#2C58B8 #B82C58 #58B82C
tetradic
#2C58B8 #B82C9E #B88C2C #2CB846
square
#2C58B8 #B82C9E #B88C2C #2CB846
split-complementary
#2C58B8 #B8462C #9EB82C
monochromatic
#142955 #204087 #2C58B8 #4D77D4 #7E9DE0

Accessibility & contrast

On white

6.57
#2C58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2C58B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58B8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58B8#FFFFFF#000000##FFFFFF
##2C58B81.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c58b8;
/* rgb */ color: rgb(44, 88, 184);
/* oklch */ color: oklch(48.6% 0.160 263.2);
Tailwind
colors: {
  custom: {
    50: '#7986ce',
    500: '#2c58b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c58b8;
$custom-light: #7986ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58b8",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 221.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.15986,
    "h": 263.2
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#2C58B8
secondary
#C9AF77
accent
#B243E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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