#2A58A7#2A58A7

#2A58A7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.137 H 260.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2A58A7
RGBrgb(42, 88, 167)
HSLhsl(218, 60%, 41%)
HSVhsv(218, 75%, 65%)
CMYKcmyk(74.9%, 47.3%, 0%, 34.5%)
CIE-LABlab(38.31, 12.63, -47.09)
CIE-LCHlch(38.31, 48.76, 285.01°)
OKLaboklab(47.22% -0.0227 -0.1351)
OKLCHoklch(47.22% 0.137 260.4)
XYZxyz(11.4171, 10.2604, 37.9305)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58A7 #A7792A
analogous
#2A96A7 #2A58A7 #3A2AA7
triadic
#2A58A7 #A72A58 #58A72A
tetradic
#2A58A7 #A72A96 #A7792A #2AA73A
square
#2A58A7 #A72A96 #A7792A #2AA73A
split-complementary
#2A58A7 #A73A2A #96A72A
monochromatic
#112445 #1E3E76 #2A58A7 #3F74CF #7098DB

Accessibility & contrast

On white

6.88
#2A58A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A58A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58A7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58A7#FFFFFF#000000##FFFFFF
##2A58A71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60AA
Deuteranopia (green-blind)
#0E55A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a58a7;
/* rgb */ color: rgb(42, 88, 167);
/* oklch */ color: oklch(47.2% 0.137 260.4);
Tailwind
colors: {
  custom: {
    50: '#7586c2',
    500: '#2a58a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a58a7;
$custom-light: #7586c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58a7",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 217.92,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.13699,
    "h": 260.4
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#2A58A7
secondary
#C2A26B
accent
#A945E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A58A7

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

Preview Lab → · Contrast checker → · Palette generator →

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