#2D58B7#2D58B7

#2D58B7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.158 H 263.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2D58B7
RGBrgb(45, 88, 183)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 75%, 72%)
CMYKcmyk(75.4%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.50, 19.14, -54.61)
CIE-LCHlch(39.50, 57.86, 289.31°)
OKLaboklab(48.51% -0.0183 -0.1571)
OKLCHoklch(48.51% 0.158 263.4)
XYZxyz(13.1161, 10.9548, 46.2138)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58B7 #B78C2D
analogous
#2D9DB7 #2D58B7 #472DB7
triadic
#2D58B7 #B72D58 #58B72D
tetradic
#2D58B7 #B72D9D #B78C2D #2DB747
square
#2D58B7 #B72D9D #B78C2D #2DB747
split-complementary
#2D58B7 #B7472D #9DB72D
monochromatic
#152955 #214086 #2D58B7 #4E77D3 #7F9DDF

Accessibility & contrast

On white

6.58
#2D58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D58B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58B7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58B7#FFFFFF#000000##FFFFFF
##2D58B71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d58b7;
/* rgb */ color: rgb(45, 88, 183);
/* oklch */ color: oklch(48.5% 0.158 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a86cd',
    500: '#2d58b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d58b7;
$custom-light: #7a86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58b7",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 221.304,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48514,
    "c": 0.1582,
    "h": 263.4
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#2D58B7
secondary
#C8AF78
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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