#2D5BC0#2D5BC0

#2D5BC0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.167 H 263.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2D5BC0
RGBrgb(45, 91, 192)
HSLhsl(221, 62%, 46%)
HSVhsv(221, 77%, 75%)
CMYKcmyk(76.6%, 52.6%, 0%, 24.7%)
CIE-LABlab(40.97, 20.59, -57.50)
CIE-LCHlch(40.97, 61.07, 289.71°)
OKLaboklab(49.83% -0.0197 -0.1656)
OKLCHoklch(49.83% 0.167 263.2)
XYZxyz(14.3343, 11.8442, 51.3896)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BC0 #C0922D
analogous
#2DA5C0 #2D5BC0 #482DC0
triadic
#2D5BC0 #C02D5B #5BC02D
tetradic
#2D5BC0 #C02DA5 #C0922D #2DC048
square
#2D5BC0 #C02DA5 #C0922D #2DC048
split-complementary
#2D5BC0 #C0482D #A5C02D
monochromatic
#162C5D #21448E #2D5BC0 #537DD7 #85A2E2

Accessibility & contrast

On white

6.23
#2D5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2D5BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BC0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BC0#FFFFFF#000000##FFFFFF
##2D5BC01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5bc0;
/* rgb */ color: rgb(45, 91, 192);
/* oklch */ color: oklch(49.8% 0.167 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b88d4',
    500: '#2d5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bc0;
$custom-light: #7b88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bc0",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 221.224,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.16676,
    "h": 263.2
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#2D5BC0
secondary
#CCB37D
accent
#B243E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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