#2B5CCC#2B5CCC

#2B5CCC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.182 H 263.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2B5CCC
RGBrgb(43, 92, 204)
HSLhsl(222, 65%, 48%)
HSVhsv(222, 79%, 80%)
CMYKcmyk(78.9%, 54.9%, 0%, 20%)
CIE-LABlab(42.04, 24.28, -62.71)
CIE-LCHlch(42.04, 67.25, 291.16°)
OKLaboklab(50.9% -0.0207 -0.1809)
OKLCHoklch(50.9% 0.182 263.5)
XYZxyz(15.7186, 12.5257, 58.7043)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CCC #CC9B2B
analogous
#2BACCC #2B5CCC #4A2BCC
triadic
#2B5CCC #CC2B5C #5CCC2B
tetradic
#2B5CCC #CC2BAC #CC9B2B #2BCC4A
square
#2B5CCC #CC2BAC #CC9B2B #2BCC4A
split-complementary
#2B5CCC #CC4A2B #ACCC2B
monochromatic
#162E67 #204599 #2B5CCC #5880DC #8BA7E7

Accessibility & contrast

On white

5.99
#2B5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2B5CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CCC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CCC#FFFFFF#000000##FFFFFF
##2B5CCC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5ccc;
/* rgb */ color: rgb(43, 92, 204);
/* oklch */ color: oklch(50.9% 0.182 263.5);
Tailwind
colors: {
  custom: {
    50: '#7e89dc',
    500: '#2b5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ccc;
$custom-light: #7e89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ccc",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 221.739,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.18213,
    "h": 263.5
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#2B5CCC
secondary
#D0B982
accent
#B540E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2B5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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