#2A58B3#2A58B3

#2A58B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.154 H 262.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2A58B3
RGBrgb(42, 88, 179)
HSLhsl(220, 62%, 43%)
HSVhsv(220, 77%, 70%)
CMYKcmyk(76.5%, 50.8%, 0%, 29.8%)
CIE-LABlab(39.11, 17.24, -52.89)
CIE-LCHlch(39.11, 55.63, 288.06°)
OKLaboklab(48.1% -0.021 -0.1521)
OKLCHoklch(48.1% 0.154 262.1)
XYZxyz(12.5783, 10.7249, 44.0463)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58B3 #B3852A
analogous
#2A9CB3 #2A58B3 #402AB3
triadic
#2A58B3 #B32A58 #58B32A
tetradic
#2A58B3 #B32A9C #B3852A #2AB340
square
#2A58B3 #B32A9C #B3852A #2AB340
split-complementary
#2A58B3 #B3402A #9CB32A
monochromatic
#132750 #1E4081 #2A58B3 #4676D4 #789BDF

Accessibility & contrast

On white

6.68
#2A58B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2A58B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58B3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58B3#FFFFFF#000000##FFFFFF
##2A58B31.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a58b3;
/* rgb */ color: rgb(42, 88, 179);
/* oklch */ color: oklch(48.1% 0.154 262.1);
Tailwind
colors: {
  custom: {
    50: '#7886ca',
    500: '#2a58b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a58b3;
$custom-light: #7886ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58b3",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 219.854,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.15359,
    "h": 262.1
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#2A58B3
secondary
#C7AA72
accent
#AF43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A58B3

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

Preview Lab → · Contrast checker → · Palette generator →

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