#2A58A9#2A58A9

#2A58A9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.140 H 260.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2A58A9
RGBrgb(42, 88, 169)
HSLhsl(218, 60%, 41%)
HSVhsv(218, 75%, 66%)
CMYKcmyk(75.1%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.44, 13.40, -48.07)
CIE-LCHlch(38.44, 49.90, 285.57°)
OKLaboklab(47.36% -0.0224 -0.138)
OKLCHoklch(47.36% 0.14 260.8)
XYZxyz(11.6034, 10.3350, 38.9117)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58A9 #A97B2A
analogous
#2A98A9 #2A58A9 #3C2AA9
triadic
#2A58A9 #A92A58 #58A92A
tetradic
#2A58A9 #A92A98 #A97B2A #2AA93C
square
#2A58A9 #A92A98 #A97B2A #2AA93C
split-complementary
#2A58A9 #A93C2A #98A92A
monochromatic
#122547 #1E3E78 #2A58A9 #4174D0 #7298DC

Accessibility & contrast

On white

6.85
#2A58A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A58A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58A9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58A9#FFFFFF#000000##FFFFFF
##2A58A91.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#0755A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a58a9;
/* rgb */ color: rgb(42, 88, 169);
/* oklch */ color: oklch(47.4% 0.140 260.8);
Tailwind
colors: {
  custom: {
    50: '#7586c3',
    500: '#2a58a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a58a9;
$custom-light: #7586c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58a9",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 218.268,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.13977,
    "h": 260.8
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#2A58A9
secondary
#C3A36C
accent
#AA44E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2A58A9

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

Preview Lab → · Contrast checker → · Palette generator →

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