#2D58BB#2D58BB

#2D58BB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.164 H 263.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D58BB
RGBrgb(45, 88, 187)
HSLhsl(222, 61%, 45%)
HSVhsv(222, 76%, 73%)
CMYKcmyk(75.9%, 52.9%, 0%, 26.7%)
CIE-LABlab(39.79, 20.66, -56.49)
CIE-LCHlch(39.79, 60.15, 290.09°)
OKLaboklab(48.82% -0.0179 -0.1627)
OKLCHoklch(48.82% 0.164 263.7)
XYZxyz(13.5384, 11.1237, 48.4376)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58BB #BB902D
analogous
#2D9FBB #2D58BB #492DBB
triadic
#2D58BB #BB2D58 #58BB2D
tetradic
#2D58BB #BB2D9F #BB902D #2DBB49
square
#2D58BB #BB2D9F #BB902D #2DBB49
split-complementary
#2D58BB #BB492D #9FBB2D
monochromatic
#152A58 #21418A #2D58BB #5078D5 #829EE1

Accessibility & contrast

On white

6.51
#2D58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58BB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58BB#FFFFFF#000000##FFFFFF
##2D58BB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d58bb;
/* rgb */ color: rgb(45, 88, 187);
/* oklch */ color: oklch(48.8% 0.164 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a86d0',
    500: '#2d58bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d58bb;
$custom-light: #7a86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58bb",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 221.831,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.16367,
    "h": 263.7
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#2D58BB
secondary
#CAB27A
accent
#B443E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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