#2D5CC8#2D5CC8

#2D5CC8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.176 H 263.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2D5CC8
RGBrgb(45, 92, 200)
HSLhsl(222, 63%, 48%)
HSVhsv(222, 78%, 78%)
CMYKcmyk(77.5%, 54%, 0%, 21.6%)
CIE-LABlab(41.81, 22.97, -60.76)
CIE-LCHlch(41.81, 64.96, 290.71°)
OKLaboklab(50.65% -0.0197 -0.1752)
OKLCHoklch(50.65% 0.176 263.6)
XYZxyz(15.3309, 12.3805, 56.2141)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CC8 #C8992D
analogous
#2DAAC8 #2D5CC8 #4B2DC8
triadic
#2D5CC8 #C82D5C #5CC82D
tetradic
#2D5CC8 #C82DAA #C8992D #2DC84B
square
#2D5CC8 #C82DAA #C8992D #2DC84B
split-complementary
#2D5CC8 #C84B2D #AAC82D
monochromatic
#172E64 #224596 #2D5CC8 #5980DA #8BA6E5

Accessibility & contrast

On white

6.04
#2D5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CC8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CC8#FFFFFF#000000##FFFFFF
##2D5CC81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d5cc8;
/* rgb */ color: rgb(45, 92, 200);
/* oklch */ color: oklch(50.7% 0.176 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d89d9',
    500: '#2d5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cc8;
$custom-light: #7d89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cc8",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 221.806,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.17629,
    "h": 263.6
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#2D5CC8
secondary
#CFB782
accent
#B441E6
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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