#2C58B5#2C58B5

#2C58B5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.156 H 262.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2C58B5
RGBrgb(44, 88, 181)
HSLhsl(221, 61%, 44%)
HSVhsv(221, 76%, 71%)
CMYKcmyk(75.7%, 51.4%, 0%, 29%)
CIE-LABlab(39.33, 18.25, -53.72)
CIE-LCHlch(39.33, 56.74, 288.77°)
OKLaboklab(48.32% -0.0193 -0.1546)
OKLCHoklch(48.32% 0.156 262.9)
XYZxyz(12.8659, 10.8497, 45.1232)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58B5 #B5892C
analogous
#2C9DB5 #2C58B5 #452CB5
triadic
#2C58B5 #B52C58 #58B52C
tetradic
#2C58B5 #B52C9D #B5892C #2CB545
square
#2C58B5 #B52C9D #B5892C #2CB545
split-complementary
#2C58B5 #B5452C #9DB52C
monochromatic
#142853 #204084 #2C58B5 #4B77D3 #7C9CDF

Accessibility & contrast

On white

6.62
#2C58B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C58B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58B5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58B5#FFFFFF#000000##FFFFFF
##2C58B51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c58b5;
/* rgb */ color: rgb(44, 88, 181);
/* oklch */ color: oklch(48.3% 0.156 262.9);
Tailwind
colors: {
  custom: {
    50: '#7986cc',
    500: '#2c58b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c58b5;
$custom-light: #7986cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58b5",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 181
  },
  "hsl": {
    "h": 220.73,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48324,
    "c": 0.15576,
    "h": 262.9
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#2C58B5
secondary
#C8AD75
accent
#B144E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C58B5

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

Preview Lab → · Contrast checker → · Palette generator →

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