#2B5BCA#2B5BCA

#2B5BCA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.181 H 263.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2B5BCA
RGBrgb(43, 91, 202)
HSLhsl(222, 65%, 48%)
HSVhsv(222, 79%, 79%)
CMYKcmyk(78.7%, 55%, 0%, 20.8%)
CIE-LABlab(41.62, 24.17, -62.23)
CIE-LCHlch(41.62, 66.76, 291.23°)
OKLaboklab(50.54% -0.0202 -0.1796)
OKLCHoklch(50.54% 0.181 263.6)
XYZxyz(15.3942, 12.2582, 57.4204)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BCA #CA9A2B
analogous
#2BAACA #2B5BCA #4B2BCA
triadic
#2B5BCA #CA2B5B #5BCA2B
tetradic
#2B5BCA #CA2BAA #CA9A2B #2BCA4B
square
#2B5BCA #CA2BAA #CA9A2B #2BCA4B
split-complementary
#2B5BCA #CA4B2B #AACA2B
monochromatic
#162E65 #204498 #2B5BCA #577FDB #89A5E6

Accessibility & contrast

On white

6.08
#2B5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2B5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BCA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BCA#FFFFFF#000000##FFFFFF
##2B5BCA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5bca;
/* rgb */ color: rgb(43, 91, 202);
/* oklch */ color: oklch(50.5% 0.181 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d88db',
    500: '#2b5bca',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bca;
$custom-light: #7d88db;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bca",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 221.887,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.18069,
    "h": 263.6
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#2B5BCA
secondary
#D0B881
accent
#B540E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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