#2A5BD0#2A5BD0

#2A5BD0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.189 H 263.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2A5BD0
RGBrgb(42, 91, 208)
HSLhsl(222, 66%, 49%)
HSVhsv(222, 80%, 82%)
CMYKcmyk(79.8%, 56.2%, 0%, 18.4%)
CIE-LABlab(42.04, 26.34, -65.01)
CIE-LCHlch(42.04, 70.15, 292.06°)
OKLaboklab(50.98% -0.0205 -0.1877)
OKLCHoklch(50.98% 0.189 263.8)
XYZxyz(16.0770, 12.5266, 61.2328)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5BD0 #D09F2A
analogous
#2AAED0 #2A5BD0 #4C2AD0
triadic
#2A5BD0 #D02A5B #5BD02A
tetradic
#2A5BD0 #D02AAE #D09F2A #2AD04C
square
#2A5BD0 #D02AAE #D09F2A #2AD04C
split-complementary
#2A5BD0 #D04C2A #AED02A
monochromatic
#152E6A #20459D #2A5BD0 #5A81DE #8DA7E8

Accessibility & contrast

On white

5.99
#2A5BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2A5BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5BD0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5BD0#FFFFFF#000000##FFFFFF
##2A5BD01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a5bd0;
/* rgb */ color: rgb(42, 91, 208);
/* oklch */ color: oklch(51.0% 0.189 263.8);
Tailwind
colors: {
  custom: {
    50: '#7e88df',
    500: '#2a5bd0',
    950: '#000000',
  },
}
SCSS
$custom: #2a5bd0;
$custom-light: #7e88df;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5bd0",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 222.289,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.18885,
    "h": 263.8
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#2A5BD0
secondary
#D2BB84
accent
#B73EE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2A5BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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