#2D58C3#2D58C3

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

Color values

HEX#2D58C3
RGBrgb(45, 88, 195)
HSLhsl(223, 63%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(76.9%, 54.9%, 0%, 23.5%)
CIE-LABlab(40.37, 23.69, -60.21)
CIE-LCHlch(40.37, 64.70, 291.48°)
OKLaboklab(49.45% -0.0172 -0.1736)
OKLCHoklch(49.45% 0.174 264.3)
XYZxyz(14.4187, 11.4758, 53.0743)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58C3 #C3982D
analogous
#2DA3C3 #2D58C3 #4D2DC3
triadic
#2D58C3 #C32D58 #58C32D
tetradic
#2D58C3 #C32DA3 #C3982D #2DC34D
square
#2D58C3 #C32DA3 #C3982D #2DC34D
split-complementary
#2D58C3 #C34D2D #A3C32D
monochromatic
#162B60 #224291 #2D58C3 #557BD8 #87A2E3

Accessibility & contrast

On white

6.37
#2D58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2D58C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58C3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58C3#FFFFFF#000000##FFFFFF
##2D58C31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d58c3;
/* rgb */ color: rgb(45, 88, 195);
/* oklch */ color: oklch(49.4% 0.174 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c86d6',
    500: '#2d58c3',
    950: '#000000',
  },
}
SCSS
$custom: #2d58c3;
$custom-light: #7c86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58c3",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 222.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.17448,
    "h": 264.3
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#2D58C3
secondary
#CDB77F
accent
#B742E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D58C3

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

Preview Lab → · Contrast checker → · Palette generator →

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