#2D5BC3#2D5BC3

#2D5BC3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.171 H 263.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2D5BC3
RGBrgb(45, 91, 195)
HSLhsl(222, 63%, 47%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(76.9%, 53.3%, 0%, 23.5%)
CIE-LABlab(41.18, 21.73, -58.89)
CIE-LCHlch(41.18, 62.77, 290.25°)
OKLaboklab(50.06% -0.0194 -0.1697)
OKLCHoklch(50.06% 0.171 263.5)
XYZxyz(14.6701, 11.9785, 53.1581)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BC3 #C3952D
analogous
#2DA6C3 #2D5BC3 #4A2DC3
triadic
#2D5BC3 #C32D5B #5BC32D
tetradic
#2D5BC3 #C32DA6 #C3952D #2DC34A
square
#2D5BC3 #C32DA6 #C3952D #2DC34A
split-complementary
#2D5BC3 #C34A2D #A6C32D
monochromatic
#162D60 #224491 #2D5BC3 #557DD8 #87A3E3

Accessibility & contrast

On white

6.18
#2D5BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2D5BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BC3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BC3#FFFFFF#000000##FFFFFF
##2D5BC31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5bc3;
/* rgb */ color: rgb(45, 91, 195);
/* oklch */ color: oklch(50.1% 0.171 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c88d6',
    500: '#2d5bc3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bc3;
$custom-light: #7c88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bc3",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 221.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.1708,
    "h": 263.5
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#2D5BC3
secondary
#CDB57F
accent
#B342E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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