#2D73D8#2D73D8

#2D73D8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.170 H 258.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D73D8
RGBrgb(45, 115, 216)
HSLhsl(215, 69%, 51%)
HSVhsv(215, 79%, 85%)
CMYKcmyk(79.2%, 46.8%, 0%, 15.3%)
CIE-LABlab(49.22, 14.29, -57.96)
CIE-LCHlch(49.22, 59.69, 283.85°)
OKLaboklab(56.66% -0.0348 -0.1665)
OKLCHoklch(56.66% 0.17 258.2)
XYZxyz(19.6030, 17.7749, 67.3502)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D73D8 #D8922D
analogous
#2DC8D8 #2D73D8 #3C2DD8
triadic
#2D73D8 #D82D73 #73D82D
tetradic
#2D73D8 #D82DC8 #D8922D #2DD83C
square
#2D73D8 #D82DC8 #D8922D #2DD83C
split-complementary
#2D73D8 #D83C2D #C8D82D
monochromatic
#163D75 #1F57A9 #2D73D8 #6195E2 #94B8EB

Accessibility & contrast

On white

4.61
#2D73D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2D73D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D73D8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D73D8#FFFFFF#000000##FFFFFF
##2D73D81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#026ED6
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d73d8;
/* rgb */ color: rgb(45, 115, 216);
/* oklch */ color: oklch(56.7% 0.170 258.2);
Tailwind
colors: {
  custom: {
    50: '#809ae5',
    500: '#2d73d8',
    950: '#000000',
  },
}
SCSS
$custom: #2d73d8;
$custom-light: #809ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d73d8",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 216
  },
  "hsl": {
    "h": 215.439,
    "s": 68.675,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.17008,
    "h": 258.2
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#2D73D8
secondary
#D6B78B
accent
#A43CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2D73D8

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

Preview Lab → · Contrast checker → · Palette generator →

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