#2B5CE2#2B5CE2

#2B5CE2 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 52.7% C 0.211 H 264.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2B5CE2
RGBrgb(43, 92, 226)
HSLhsl(224, 76%, 53%)
HSVhsv(224, 81%, 89%)
CMYKcmyk(81%, 59.3%, 0%, 11.4%)
CIE-LABlab(43.74, 32.52, -72.53)
CIE-LCHlch(43.74, 79.48, 294.15°)
OKLaboklab(52.7% -0.0196 -0.2098)
OKLCHoklch(52.7% 0.211 264.7)
XYZxyz(18.5460, 13.6566, 73.5953)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CE2 #E2B12B
analogous
#2BB8E2 #2B5CE2 #552BE2
triadic
#2B5CE2 #E22B5C #5CE22B
tetradic
#2B5CE2 #E22BB8 #E2B12B #2BE255
square
#2B5CE2 #E22BB8 #E2B12B #2BE255
split-complementary
#2B5CE2 #E2552B #B8E22B
monochromatic
#122F81 #1943B7 #2B5CE2 #6185E9 #97AFF1

Accessibility & contrast

On white

5.63
#2B5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2B5CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CE2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CE2#FFFFFF#000000##FFFFFF
##2B5CE21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b5ce2;
/* rgb */ color: rgb(43, 92, 226);
/* oklch */ color: oklch(52.7% 0.211 264.7);
Tailwind
colors: {
  custom: {
    50: '#8389ec',
    500: '#2b5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ce2;
$custom-light: #8389ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ce2",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 223.934,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.21068,
    "h": 264.7
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#2B5CE2
secondary
#DCC78D
accent
#C035F3
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #2B5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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