#2B5CED#2B5CED

#2B5CED is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.6% C 0.225 H 265.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2B5CED
RGBrgb(43, 92, 237)
HSLhsl(225, 84%, 55%)
HSVhsv(225, 82%, 93%)
CMYKcmyk(81.9%, 61.2%, 0%, 7.1%)
CIE-LABlab(44.63, 36.57, -77.28)
CIE-LCHlch(44.63, 85.49, 295.32°)
OKLaboklab(53.65% -0.0194 -0.2237)
OKLCHoklch(53.65% 0.225 265)
XYZxyz(20.1041, 14.2799, 81.8010)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CED #EDBC2B
analogous
#2BBDED #2B5CED #5B2BED
triadic
#2B5CED #ED2B5C #5CED2B
tetradic
#2B5CED #ED2BBD #EDBC2B #2BED5B
square
#2B5CED #ED2BBD #EDBC2B #2BED5B
split-complementary
#2B5CED #ED5B2B #BDED2B
monochromatic
#0C2E91 #1140CA #2B5CED #6387F2 #9CB3F7

Accessibility & contrast

On white

5.45
#2B5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2B5CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CED
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CED#FFFFFF#000000##FFFFFF
##2B5CED1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0061EA
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b5ced;
/* rgb */ color: rgb(43, 92, 237);
/* oklch */ color: oklch(53.6% 0.225 265.0);
Tailwind
colors: {
  custom: {
    50: '#8589f4',
    500: '#2b5ced',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ced;
$custom-light: #8589f4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ced",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 224.845,
    "s": 84.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.22453,
    "h": 265
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#2B5CED
secondary
#E3CE91
accent
#C72DFB
background
#F9F8FF
surface
#F1F0FE
border
#CBCBD6
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #2B5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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