#2C58B2#2C58B2

#2C58B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.152 H 262.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2C58B2
RGBrgb(44, 88, 178)
HSLhsl(220, 60%, 44%)
HSVhsv(220, 75%, 70%)
CMYKcmyk(75.3%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.12, 17.11, -52.29)
CIE-LCHlch(39.12, 55.02, 288.11°)
OKLaboklab(48.1% -0.0196 -0.1504)
OKLCHoklch(48.1% 0.152 262.6)
XYZxyz(12.5614, 10.7279, 43.5195)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58B2 #B2862C
analogous
#2C9BB2 #2C58B2 #432CB2
triadic
#2C58B2 #B22C58 #58B22C
tetradic
#2C58B2 #B22C9B #B2862C #2CB243
square
#2C58B2 #B22C9B #B2862C #2CB243
split-complementary
#2C58B2 #B2432C #9BB22C
monochromatic
#142750 #204081 #2C58B2 #4976D2 #7A9BDE

Accessibility & contrast

On white

6.68
#2C58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2C58B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58B2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58B2#FFFFFF#000000##FFFFFF
##2C58B21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c58b2;
/* rgb */ color: rgb(44, 88, 178);
/* oklch */ color: oklch(48.1% 0.152 262.6);
Tailwind
colors: {
  custom: {
    50: '#7886ca',
    500: '#2c58b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c58b2;
$custom-light: #7886ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58b2",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 220.299,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.15163,
    "h": 262.6
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#2C58B2
secondary
#C6AB73
accent
#AF44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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