#2B5ECA#2B5ECA

#2B5ECA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.177 H 262.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2B5ECA
RGBrgb(43, 94, 202)
HSLhsl(221, 65%, 48%)
HSVhsv(221, 79%, 79%)
CMYKcmyk(78.7%, 53.5%, 0%, 20.8%)
CIE-LABlab(42.43, 22.22, -60.92)
CIE-LCHlch(42.43, 64.85, 290.04°)
OKLaboklab(51.15% -0.0223 -0.1756)
OKLCHoklch(51.15% 0.177 262.8)
XYZxyz(15.6558, 12.7814, 57.5076)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5ECA #CA972B
analogous
#2BADCA #2B5ECA #482BCA
triadic
#2B5ECA #CA2B5E #5ECA2B
tetradic
#2B5ECA #CA2BAD #CA972B #2BCA48
square
#2B5ECA #CA2BAD #CA972B #2BCA48
split-complementary
#2B5ECA #CA482B #ADCA2B
monochromatic
#162F65 #204798 #2B5ECA #5781DB #89A7E6

Accessibility & contrast

On white

5.90
#2B5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5ECA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5ECA#FFFFFF#000000##FFFFFF
##2B5ECA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b5eca;
/* rgb */ color: rgb(43, 94, 202);
/* oklch */ color: oklch(51.1% 0.177 262.8);
Tailwind
colors: {
  custom: {
    50: '#7d8bdb',
    500: '#2b5eca',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eca;
$custom-light: #7d8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eca",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 220.755,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.17706,
    "h": 262.8
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#2B5ECA
secondary
#D0B781
accent
#B240E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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