#2D58B2#2D58B2

#2D58B2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.151 H 262.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2D58B2
RGBrgb(45, 88, 178)
HSLhsl(221, 60%, 44%)
HSVhsv(221, 75%, 70%)
CMYKcmyk(74.7%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.16, 17.23, -52.23)
CIE-LCHlch(39.16, 55.00, 288.26°)
OKLaboklab(48.14% -0.0189 -0.1501)
OKLCHoklch(48.14% 0.151 262.8)
XYZxyz(12.6049, 10.7503, 43.5215)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58B2 #B2872D
analogous
#2D9AB2 #2D58B2 #452DB2
triadic
#2D58B2 #B22D58 #58B22D
tetradic
#2D58B2 #B22D9A #B2872D #2DB245
square
#2D58B2 #B22D9A #B2872D #2DB245
split-complementary
#2D58B2 #B2452D #9AB22D
monochromatic
#142850 #214081 #2D58B2 #4B76D1 #7C9BDE

Accessibility & contrast

On white

6.67
#2D58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2D58B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58B2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58B2#FFFFFF#000000##FFFFFF
##2D58B21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d58b2;
/* rgb */ color: rgb(45, 88, 178);
/* oklch */ color: oklch(48.1% 0.151 262.8);
Tailwind
colors: {
  custom: {
    50: '#7886ca',
    500: '#2d58b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d58b2;
$custom-light: #7886ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58b2",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 220.602,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.15133,
    "h": 262.8
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#2D58B2
secondary
#C6AC75
accent
#B045E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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