#2D58C0#2D58C0

#2D58C0 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.170 H 264.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2D58C0
RGBrgb(45, 88, 192)
HSLhsl(222, 62%, 46%)
HSVhsv(222, 77%, 75%)
CMYKcmyk(76.6%, 54.2%, 0%, 24.7%)
CIE-LABlab(40.15, 22.55, -58.82)
CIE-LCHlch(40.15, 63.00, 290.98°)
OKLaboklab(49.21% -0.0174 -0.1695)
OKLCHoklch(49.21% 0.17 264.1)
XYZxyz(14.0830, 11.3415, 51.3059)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58C0 #C0952D
analogous
#2DA2C0 #2D58C0 #4C2DC0
triadic
#2D58C0 #C02D58 #58C02D
tetradic
#2D58C0 #C02DA2 #C0952D #2DC04C
square
#2D58C0 #C02DA2 #C0952D #2DC04C
split-complementary
#2D58C0 #C04C2D #A2C02D
monochromatic
#162B5D #21418E #2D58C0 #537AD7 #85A0E2

Accessibility & contrast

On white

6.42
#2D58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2D58C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58C0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58C0#FFFFFF#000000##FFFFFF
##2D58C01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d58c0;
/* rgb */ color: rgb(45, 88, 192);
/* oklch */ color: oklch(49.2% 0.170 264.1);
Tailwind
colors: {
  custom: {
    50: '#7c86d4',
    500: '#2d58c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d58c0;
$custom-light: #7c86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58c0",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 222.449,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.17044,
    "h": 264.1
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#2D58C0
secondary
#CCB57D
accent
#B643E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D58C0

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

Preview Lab → · Contrast checker → · Palette generator →

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