#2B5FC2#2B5FC2

#2B5FC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.165 H 261.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2B5FC2
RGBrgb(43, 95, 194)
HSLhsl(219, 64%, 46%)
HSVhsv(219, 78%, 76%)
CMYKcmyk(77.8%, 51%, 0%, 23.9%)
CIE-LABlab(42.14, 18.52, -56.76)
CIE-LCHlch(42.14, 59.71, 288.07°)
OKLaboklab(50.75% -0.0239 -0.1634)
OKLCHoklch(50.75% 0.165 261.7)
XYZxyz(14.8226, 12.5913, 52.6776)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FC2 #C28E2B
analogous
#2BABC2 #2B5FC2 #432BC2
triadic
#2B5FC2 #C22B5F #5FC22B
tetradic
#2B5FC2 #C22BAB #C28E2B #2BC243
square
#2B5FC2 #C22BAB #C28E2B #2BC243
split-complementary
#2B5FC2 #C2432B #ABC22B
monochromatic
#152E5E #204690 #2B5FC2 #5280D9 #84A5E4

Accessibility & contrast

On white

5.97
#2B5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FC2#FFFFFF#000000##FFFFFF
##2B5FC21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5fc2;
/* rgb */ color: rgb(43, 95, 194);
/* oklch */ color: oklch(50.7% 0.165 261.7);
Tailwind
colors: {
  custom: {
    50: '#7b8bd5',
    500: '#2b5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fc2;
$custom-light: #7b8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fc2",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 219.338,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.16514,
    "h": 261.7
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#2B5FC2
secondary
#CDB17C
accent
#AE41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2B5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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