#2B5FCA#2B5FCA

#2B5FCA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.176 H 262.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2B5FCA
RGBrgb(43, 95, 202)
HSLhsl(220, 65%, 48%)
HSVhsv(220, 79%, 79%)
CMYKcmyk(78.7%, 53%, 0%, 20.8%)
CIE-LABlab(42.70, 21.57, -60.48)
CIE-LCHlch(42.70, 64.21, 289.63°)
OKLaboklab(51.35% -0.023 -0.1743)
OKLCHoklch(51.35% 0.176 262.5)
XYZxyz(15.7453, 12.9604, 57.5374)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FCA #CA962B
analogous
#2BAFCA #2B5FCA #462BCA
triadic
#2B5FCA #CA2B5F #5FCA2B
tetradic
#2B5FCA #CA2BAF #CA962B #2BCA46
square
#2B5FCA #CA2BAF #CA962B #2BCA46
split-complementary
#2B5FCA #CA462B #AFCA2B
monochromatic
#163065 #204798 #2B5FCA #5782DB #89A8E6

Accessibility & contrast

On white

5.85
#2B5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2B5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FCA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FCA#FFFFFF#000000##FFFFFF
##2B5FCA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6CCE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b5fca;
/* rgb */ color: rgb(43, 95, 202);
/* oklch */ color: oklch(51.4% 0.176 262.5);
Tailwind
colors: {
  custom: {
    50: '#7d8bdb',
    500: '#2b5fca',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fca;
$custom-light: #7d8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fca",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 220.377,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.17584,
    "h": 262.5
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#2B5FCA
secondary
#D0B681
accent
#B140E8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2B5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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