#2B5CCB#2B5CCB

#2B5CCB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.181 H 263.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2B5CCB
RGBrgb(43, 92, 203)
HSLhsl(222, 65%, 48%)
HSVhsv(222, 79%, 80%)
CMYKcmyk(78.8%, 54.7%, 0%, 20.4%)
CIE-LABlab(41.97, 23.90, -62.25)
CIE-LCHlch(41.97, 66.68, 291.00°)
OKLaboklab(50.82% -0.0208 -0.1796)
OKLCHoklch(50.82% 0.181 263.4)
XYZxyz(15.5990, 12.4779, 58.0747)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CCB #CB9A2B
analogous
#2BACCB #2B5CCB #4A2BCB
triadic
#2B5CCB #CB2B5C #5CCB2B
tetradic
#2B5CCB #CB2BAC #CB9A2B #2BCB4A
square
#2B5CCB #CB2BAC #CB9A2B #2BCB4A
split-complementary
#2B5CCB #CB4A2B #ACCB2B
monochromatic
#162E66 #204598 #2B5CCB #5880DC #8AA6E6

Accessibility & contrast

On white

6.01
#2B5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2B5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CCB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CCB#FFFFFF#000000##FFFFFF
##2B5CCB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5ccb;
/* rgb */ color: rgb(43, 92, 203);
/* oklch */ color: oklch(50.8% 0.181 263.4);
Tailwind
colors: {
  custom: {
    50: '#7d89dc',
    500: '#2b5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ccb;
$custom-light: #7d89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ccb",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 221.625,
    "s": 65.041,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.1808,
    "h": 263.4
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#2B5CCB
secondary
#D0B882
accent
#B440E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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