#2D5BC8#2D5BC8

#2D5BC8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.177 H 263.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2D5BC8
RGBrgb(45, 91, 200)
HSLhsl(222, 63%, 48%)
HSVhsv(222, 78%, 78%)
CMYKcmyk(77.5%, 54.5%, 0%, 21.6%)
CIE-LABlab(41.55, 23.62, -61.20)
CIE-LCHlch(41.55, 65.60, 291.11°)
OKLaboklab(50.45% -0.0189 -0.1765)
OKLCHoklch(50.45% 0.178 263.9)
XYZxyz(15.2449, 12.2084, 56.1854)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BC8 #C89A2D
analogous
#2DA8C8 #2D5BC8 #4D2DC8
triadic
#2D5BC8 #C82D5B #5BC82D
tetradic
#2D5BC8 #C82DA8 #C89A2D #2DC84D
square
#2D5BC8 #C82DA8 #C89A2D #2DC84D
split-complementary
#2D5BC8 #C84D2D #A8C82D
monochromatic
#172E64 #224496 #2D5BC8 #597FDA #8BA5E5

Accessibility & contrast

On white

6.10
#2D5BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5BC8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BC8#FFFFFF#000000##FFFFFF
##2D5BC81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5bc8;
/* rgb */ color: rgb(45, 91, 200);
/* oklch */ color: oklch(50.4% 0.177 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d88d9',
    500: '#2d5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bc8;
$custom-light: #7d88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bc8",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 222.194,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.1775,
    "h": 263.9
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#2D5BC8
secondary
#CFB882
accent
#B541E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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