#2C58B4#2C58B4

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

Color values

HEX#2C58B4
RGBrgb(44, 88, 180)
HSLhsl(221, 61%, 44%)
HSVhsv(221, 76%, 71%)
CMYKcmyk(75.6%, 51.1%, 0%, 29.4%)
CIE-LABlab(39.26, 17.87, -53.25)
CIE-LCHlch(39.26, 56.16, 288.55°)
OKLaboklab(48.25% -0.0194 -0.1532)
OKLCHoklch(48.25% 0.154 262.8)
XYZxyz(12.7637, 10.8088, 44.5848)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58B4 #B4882C
analogous
#2C9CB4 #2C58B4 #442CB4
triadic
#2C58B4 #B42C58 #58B42C
tetradic
#2C58B4 #B42C9C #B4882C #2CB444
square
#2C58B4 #B42C9C #B4882C #2CB444
split-complementary
#2C58B4 #B4442C #9CB42C
monochromatic
#142852 #204083 #2C58B4 #4A77D3 #7C9CDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C58B4#FFFFFF#000000##FFFFFF
##2C58B41.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)
#1E63B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c58b4;
/* rgb */ color: rgb(44, 88, 180);
/* oklch */ color: oklch(48.2% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#7986cb',
    500: '#2c58b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c58b4;
$custom-light: #7986cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58b4",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 220.588,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.15438,
    "h": 262.8
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#2C58B4
secondary
#C7AC75
accent
#B044E4
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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