#2B5FC1#2B5FC1

#2B5FC1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.164 H 261.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2B5FC1
RGBrgb(43, 95, 193)
HSLhsl(219, 64%, 46%)
HSVhsv(219, 78%, 76%)
CMYKcmyk(77.7%, 50.8%, 0%, 24.3%)
CIE-LABlab(42.07, 18.14, -56.30)
CIE-LCHlch(42.07, 59.15, 287.86°)
OKLaboklab(50.67% -0.024 -0.162)
OKLCHoklch(50.67% 0.164 261.6)
XYZxyz(14.7106, 12.5466, 52.0882)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FC1 #C18D2B
analogous
#2BAAC1 #2B5FC1 #422BC1
triadic
#2B5FC1 #C12B5F #5FC12B
tetradic
#2B5FC1 #C12BAA #C18D2B #2BC142
square
#2B5FC1 #C12BAA #C18D2B #2BC142
split-complementary
#2B5FC1 #C1422B #AAC12B
monochromatic
#152E5D #20468F #2B5FC1 #5180D8 #83A4E3

Accessibility & contrast

On white

5.98
#2B5FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5FC1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FC1#FFFFFF#000000##FFFFFF
##2B5FC11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b5fc1;
/* rgb */ color: rgb(43, 95, 193);
/* oklch */ color: oklch(50.7% 0.164 261.6);
Tailwind
colors: {
  custom: {
    50: '#7b8bd4',
    500: '#2b5fc1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fc1;
$custom-light: #7b8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fc1",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 193
  },
  "hsl": {
    "h": 219.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.16379,
    "h": 261.6
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#2B5FC1
secondary
#CCB07B
accent
#AD41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2B5FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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