#2B5DC1#2B5DC1

#2B5DC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.166 H 262.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2B5DC1
RGBrgb(43, 93, 193)
HSLhsl(220, 64%, 46%)
HSVhsv(220, 78%, 76%)
CMYKcmyk(77.7%, 51.8%, 0%, 24.3%)
CIE-LABlab(41.52, 19.44, -57.19)
CIE-LCHlch(41.52, 60.41, 288.78°)
OKLaboklab(50.25% -0.0225 -0.1647)
OKLCHoklch(50.25% 0.166 262.2)
XYZxyz(14.5328, 12.1909, 52.0289)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DC1 #C18F2B
analogous
#2BA8C1 #2B5DC1 #442BC1
triadic
#2B5DC1 #C12B5D #5DC12B
tetradic
#2B5DC1 #C12BA8 #C18F2B #2BC144
square
#2B5DC1 #C12BA8 #C18F2B #2BC144
split-complementary
#2B5DC1 #C1442B #A8C12B
monochromatic
#152D5D #20458F #2B5DC1 #517ED8 #83A3E3

Accessibility & contrast

On white

6.11
#2B5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2B5DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DC1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DC1#FFFFFF#000000##FFFFFF
##2B5DC11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5dc1;
/* rgb */ color: rgb(43, 93, 193);
/* oklch */ color: oklch(50.2% 0.166 262.2);
Tailwind
colors: {
  custom: {
    50: '#7b8ad4',
    500: '#2b5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dc1;
$custom-light: #7b8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dc1",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 220,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.16622,
    "h": 262.2
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#2B5DC1
secondary
#CCB17B
accent
#AF41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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