#2D58B8#2D58B8

#2D58B8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.160 H 263.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2D58B8
RGBrgb(45, 88, 184)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 76%, 72%)
CMYKcmyk(75.5%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.57, 19.52, -55.08)
CIE-LCHlch(39.57, 58.43, 289.51°)
OKLaboklab(48.59% -0.0182 -0.1585)
OKLCHoklch(48.59% 0.16 263.5)
XYZxyz(13.2206, 10.9966, 46.7639)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58B8 #B88D2D
analogous
#2D9EB8 #2D58B8 #482DB8
triadic
#2D58B8 #B82D58 #58B82D
tetradic
#2D58B8 #B82D9E #B88D2D #2DB848
square
#2D58B8 #B82D9E #B88D2D #2DB848
split-complementary
#2D58B8 #B8482D #9EB82D
monochromatic
#152956 #214087 #2D58B8 #4E78D4 #809DE0

Accessibility & contrast

On white

6.56
#2D58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D58B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58B8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58B8#FFFFFF#000000##FFFFFF
##2D58B81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d58b8;
/* rgb */ color: rgb(45, 88, 184);
/* oklch */ color: oklch(48.6% 0.160 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a86ce',
    500: '#2d58b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d58b8;
$custom-light: #7a86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58b8",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 221.439,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4859,
    "c": 0.15957,
    "h": 263.5
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#2D58B8
secondary
#C9B078
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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