#2D58A2#2D58A2

#2D58A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.129 H 260.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2D58A2
RGBrgb(45, 88, 162)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(72.2%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.10, 11.14, -44.44)
CIE-LCHlch(38.10, 45.81, 284.07°)
OKLaboklab(46.99% -0.0213 -0.1272)
OKLCHoklch(46.99% 0.129 260.5)
XYZxyz(11.0912, 10.1448, 35.5490)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58A2 #A2772D
analogous
#2D92A2 #2D58A2 #3D2DA2
triadic
#2D58A2 #A22D58 #58A22D
tetradic
#2D58A2 #A22D92 #A2772D #2DA23D
square
#2D58A2 #A22D92 #A2772D #2DA23D
split-complementary
#2D58A2 #A23D2D #92A22D
monochromatic
#122442 #203E72 #2D58A2 #4274CA #7297D8

Accessibility & contrast

On white

6.93
#2D58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58A2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58A2#FFFFFF#000000##FFFFFF
##2D58A21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA5
Deuteranopia (green-blind)
#1B55A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d58a2;
/* rgb */ color: rgb(45, 88, 162);
/* oklch */ color: oklch(47.0% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#7586be',
    500: '#2d58a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d58a2;
$custom-light: #7586be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58a2",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 217.949,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.12901,
    "h": 260.5
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#2D58A2
secondary
#BFA06C
accent
#A848E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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