#2A58CA#2A58CA

#2A58CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.185 H 264.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2A58CA
RGBrgb(42, 88, 202)
HSLhsl(223, 66%, 48%)
HSVhsv(223, 79%, 79%)
CMYKcmyk(79.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(40.79, 26.02, -63.59)
CIE-LCHlch(40.79, 68.71, 292.26°)
OKLaboklab(49.9% -0.0189 -0.1836)
OKLCHoklch(49.9% 0.185 264.1)
XYZxyz(15.1014, 11.7342, 57.3347)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58CA #CA9C2A
analogous
#2AA8CA #2A58CA #4C2ACA
triadic
#2A58CA #CA2A58 #58CA2A
tetradic
#2A58CA #CA2AA8 #CA9C2A #2ACA4C
square
#2A58CA #CA2AA8 #CA9C2A #2ACA4C
split-complementary
#2A58CA #CA4C2A #A8CA2A
monochromatic
#152C65 #1F4297 #2A58CA #557CDC #88A3E6

Accessibility & contrast

On white

6.27
#2A58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2A58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58CA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58CA#FFFFFF#000000##FFFFFF
##2A58CA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a58ca;
/* rgb */ color: rgb(42, 88, 202);
/* oklch */ color: oklch(49.9% 0.185 264.1);
Tailwind
colors: {
  custom: {
    50: '#7d86db',
    500: '#2a58ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a58ca;
$custom-light: #7d86db;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58ca",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 222.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.18458,
    "h": 264.1
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#2A58CA
secondary
#D0B980
accent
#B83FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2A58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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