#2D58CA#2D58CA

#2D58CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.184 H 264.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2D58CA
RGBrgb(45, 88, 202)
HSLhsl(224, 64%, 48%)
HSVhsv(224, 78%, 79%)
CMYKcmyk(77.7%, 56.4%, 0%, 20.8%)
CIE-LABlab(40.90, 26.33, -63.41)
CIE-LCHlch(40.90, 68.66, 292.55°)
OKLaboklab(50.01% -0.0167 -0.183)
OKLCHoklch(50.01% 0.184 264.8)
XYZxyz(15.2288, 11.7999, 57.3406)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58CA #CA9F2D
analogous
#2DA6CA #2D58CA #502DCA
triadic
#2D58CA #CA2D58 #58CA2D
tetradic
#2D58CA #CA2DA6 #CA9F2D #2DCA50
square
#2D58CA #CA2DA6 #CA9F2D #2DCA50
split-complementary
#2D58CA #CA502D #A6CA2D
monochromatic
#172C66 #224298 #2D58CA #5A7DDA #8CA4E5

Accessibility & contrast

On white

6.25
#2D58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58CA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58CA#FFFFFF#000000##FFFFFF
##2D58CA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d58ca;
/* rgb */ color: rgb(45, 88, 202);
/* oklch */ color: oklch(50.0% 0.184 264.8);
Tailwind
colors: {
  custom: {
    50: '#7e86db',
    500: '#2d58ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d58ca;
$custom-light: #7e86db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58ca",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 223.567,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.1838,
    "h": 264.8
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#2D58CA
secondary
#CFBB83
accent
#B941E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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