#2A58B9#2A58B9

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

Color values

HEX#2A58B9
RGBrgb(42, 88, 185)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 77%, 73%)
CMYKcmyk(77.3%, 52.4%, 0%, 27.5%)
CIE-LABlab(39.53, 19.54, -55.73)
CIE-LCHlch(39.53, 59.06, 289.32°)
OKLaboklab(48.55% -0.0203 -0.1605)
OKLCHoklch(48.55% 0.162 262.8)
XYZxyz(13.1984, 10.9730, 47.3119)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B9 #B98B2A
analogous
#2AA0B9 #2A58B9 #432AB9
triadic
#2A58B9 #B92A58 #58B92A
tetradic
#2A58B9 #B92AA0 #B98B2A #2AB943
square
#2A58B9 #B92AA0 #B98B2A #2AB943
split-complementary
#2A58B9 #B9432A #A0B92A
monochromatic
#132955 #1F4087 #2A58B9 #4A77D6 #7C9DE1

Accessibility & contrast

On white

6.57
#2A58B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A58B9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B9#FFFFFF#000000##FFFFFF
##2A58B91.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a58b9;
/* rgb */ color: rgb(42, 88, 185);
/* oklch */ color: oklch(48.6% 0.162 262.8);
Tailwind
colors: {
  custom: {
    50: '#7986cf',
    500: '#2a58b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b9;
$custom-light: #7986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b9",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 185
  },
  "hsl": {
    "h": 220.699,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.16179,
    "h": 262.8
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#2A58B9
secondary
#CAAE75
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2A58B9

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

Preview Lab → · Contrast checker → · Palette generator →

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