#2D58C2#2D58C2

#2D58C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.173 H 264.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2D58C2
RGBrgb(45, 88, 194)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(76.8%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.30, 23.31, -59.75)
CIE-LCHlch(40.30, 64.13, 291.31°)
OKLaboklab(49.37% -0.0173 -0.1723)
OKLCHoklch(49.37% 0.173 264.3)
XYZxyz(14.3061, 11.4308, 52.4809)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58C2 #C2972D
analogous
#2DA2C2 #2D58C2 #4D2DC2
triadic
#2D58C2 #C22D58 #58C22D
tetradic
#2D58C2 #C22DA2 #C2972D #2DC24D
square
#2D58C2 #C22DA2 #C2972D #2DC24D
split-complementary
#2D58C2 #C24D2D #A2C22D
monochromatic
#162B5F #214190 #2D58C2 #557AD7 #86A1E3

Accessibility & contrast

On white

6.39
#2D58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2D58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58C2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58C2#FFFFFF#000000##FFFFFF
##2D58C21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d58c2;
/* rgb */ color: rgb(45, 88, 194);
/* oklch */ color: oklch(49.4% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c86d5',
    500: '#2d58c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d58c2;
$custom-light: #7c86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58c2",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 222.685,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.17313,
    "h": 264.3
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#2D58C2
secondary
#CDB67E
accent
#B642E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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