#2A58A6#2A58A6

#2A58A6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.136 H 260.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2A58A6
RGBrgb(42, 88, 166)
HSLhsl(218, 60%, 41%)
HSVhsv(218, 75%, 65%)
CMYKcmyk(74.7%, 47%, 0%, 34.9%)
CIE-LABlab(38.24, 12.24, -46.60)
CIE-LCHlch(38.24, 48.19, 284.72°)
OKLaboklab(47.15% -0.0229 -0.1336)
OKLCHoklch(47.15% 0.136 260.3)
XYZxyz(11.3250, 10.2236, 37.4455)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58A6 #A6782A
analogous
#2A96A6 #2A58A6 #3A2AA6
triadic
#2A58A6 #A62A58 #58A62A
tetradic
#2A58A6 #A62A96 #A6782A #2AA63A
square
#2A58A6 #A62A96 #A6782A #2AA63A
split-complementary
#2A58A6 #A63A2A #96A62A
monochromatic
#112444 #1E3E75 #2A58A6 #3F74CE #7097DB

Accessibility & contrast

On white

6.90
#2A58A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A58A6
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58A6#FFFFFF#000000##FFFFFF
##2A58A61.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#1155A4
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a58a6;
/* rgb */ color: rgb(42, 88, 166);
/* oklch */ color: oklch(47.1% 0.136 260.3);
Tailwind
colors: {
  custom: {
    50: '#7586c1',
    500: '#2a58a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a58a6;
$custom-light: #7586c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58a6",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 217.742,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.1356,
    "h": 260.3
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#2A58A6
secondary
#C2A16A
accent
#A845E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A58A6

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

Preview Lab → · Contrast checker → · Palette generator →

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