#2D58AE#2D58AE

#2D58AE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.146 H 262.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2D58AE
RGBrgb(45, 88, 174)
HSLhsl(220, 59%, 43%)
HSVhsv(220, 74%, 68%)
CMYKcmyk(74.1%, 49.4%, 0%, 31.8%)
CIE-LABlab(38.88, 15.71, -50.31)
CIE-LCHlch(38.88, 52.70, 287.34°)
OKLaboklab(47.84% -0.0194 -0.1445)
OKLCHoklch(47.84% 0.146 262.3)
XYZxyz(12.2092, 10.5920, 41.4372)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58AE #AE832D
analogous
#2D98AE #2D58AE #422DAE
triadic
#2D58AE #AE2D58 #58AE2D
tetradic
#2D58AE #AE2D98 #AE832D #2DAE42
square
#2D58AE #AE2D98 #AE832D #2DAE42
split-complementary
#2D58AE #AE422D #98AE2D
monochromatic
#14274D #203F7D #2D58AE #4876D0 #799ADC

Accessibility & contrast

On white

6.73
#2D58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2D58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58AE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58AE#FFFFFF#000000##FFFFFF
##2D58AE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d58ae;
/* rgb */ color: rgb(45, 88, 174);
/* oklch */ color: oklch(47.8% 0.146 262.3);
Tailwind
colors: {
  custom: {
    50: '#7886c7',
    500: '#2d58ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d58ae;
$custom-light: #7886c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58ae",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 220,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.14579,
    "h": 262.3
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#2D58AE
secondary
#C4A972
accent
#AE46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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