#2D58C1#2D58C1

#2D58C1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.172 H 264.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2D58C1
RGBrgb(45, 88, 193)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(76.7%, 54.4%, 0%, 24.3%)
CIE-LABlab(40.22, 22.93, -59.29)
CIE-LCHlch(40.22, 63.57, 291.15°)
OKLaboklab(49.29% -0.0173 -0.1709)
OKLCHoklch(49.29% 0.172 264.2)
XYZxyz(14.1941, 11.3860, 51.8914)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58C1 #C1962D
analogous
#2DA2C1 #2D58C1 #4C2DC1
triadic
#2D58C1 #C12D58 #58C12D
tetradic
#2D58C1 #C12DA2 #C1962D #2DC14C
square
#2D58C1 #C12DA2 #C1962D #2DC14C
split-complementary
#2D58C1 #C14C2D #A2C12D
monochromatic
#162B5E #21418F #2D58C1 #547AD7 #86A1E3

Accessibility & contrast

On white

6.41
#2D58C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2D58C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58C1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58C1#FFFFFF#000000##FFFFFF
##2D58C11.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d58c1;
/* rgb */ color: rgb(45, 88, 193);
/* oklch */ color: oklch(49.3% 0.172 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c86d4',
    500: '#2d58c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d58c1;
$custom-light: #7c86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58c1",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 193
  },
  "hsl": {
    "h": 222.568,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.17179,
    "h": 264.2
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D58C1

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

Preview Lab → · Contrast checker → · Palette generator →

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