#2D5BC2#2D5BC2

#2D5BC2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.169 H 263.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2D5BC2
RGBrgb(45, 91, 194)
HSLhsl(221, 62%, 47%)
HSVhsv(221, 77%, 76%)
CMYKcmyk(76.8%, 53.1%, 0%, 23.9%)
CIE-LABlab(41.11, 21.35, -58.43)
CIE-LCHlch(41.11, 62.21, 290.08°)
OKLaboklab(49.98% -0.0195 -0.1683)
OKLCHoklch(49.98% 0.169 263.4)
XYZxyz(14.5574, 11.9334, 52.5646)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BC2 #C2942D
analogous
#2DA5C2 #2D5BC2 #4A2DC2
triadic
#2D5BC2 #C22D5B #5BC22D
tetradic
#2D5BC2 #C22DA5 #C2942D #2DC24A
square
#2D5BC2 #C22DA5 #C2942D #2DC24A
split-complementary
#2D5BC2 #C24A2D #A5C22D
monochromatic
#162C5F #214490 #2D5BC2 #557DD7 #86A3E3

Accessibility & contrast

On white

6.20
#2D5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2D5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BC2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BC2#FFFFFF#000000##FFFFFF
##2D5BC21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C68C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5bc2;
/* rgb */ color: rgb(45, 91, 194);
/* oklch */ color: oklch(50.0% 0.169 263.4);
Tailwind
colors: {
  custom: {
    50: '#7c88d5',
    500: '#2d5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bc2;
$custom-light: #7c88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bc2",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 221.477,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.16946,
    "h": 263.4
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#2D5BC2
secondary
#CDB47E
accent
#B342E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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