#2A58C9#2A58C9

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

Color values

HEX#2A58C9
RGBrgb(42, 88, 201)
HSLhsl(223, 65%, 48%)
HSVhsv(223, 79%, 79%)
CMYKcmyk(79.1%, 56.2%, 0%, 21.2%)
CIE-LABlab(40.71, 25.64, -63.13)
CIE-LCHlch(40.71, 68.14, 292.11°)
OKLaboklab(49.82% -0.0189 -0.1823)
OKLCHoklch(49.82% 0.183 264.1)
XYZxyz(14.9834, 11.6870, 56.7131)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A58C9 #C99B2A
analogous
#2AA7C9 #2A58C9 #4C2AC9
triadic
#2A58C9 #C92A58 #58C92A
tetradic
#2A58C9 #C92AA7 #C99B2A #2AC94C
square
#2A58C9 #C92AA7 #C99B2A #2AC94C
split-complementary
#2A58C9 #C94C2A #A7C92A
monochromatic
#152C64 #1F4296 #2A58C9 #557CDB #87A3E6

Accessibility & contrast

On white

6.29
#2A58C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A58C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A58C9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A58C9#FFFFFF#000000##FFFFFF
##2A58C91.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a58c9;
/* rgb */ color: rgb(42, 88, 201);
/* oklch */ color: oklch(49.8% 0.183 264.1);
Tailwind
colors: {
  custom: {
    50: '#7d86da',
    500: '#2a58c9',
    950: '#000000',
  },
}
SCSS
$custom: #2a58c9;
$custom-light: #7d86da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a58c9",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 201
  },
  "hsl": {
    "h": 222.642,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.18325,
    "h": 264.1
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#2A58C9
secondary
#D0B87F
accent
#B83FE8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2A58C9

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

Preview Lab → · Contrast checker → · Palette generator →

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