#2D54C2#2D54C2

#2D54C2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.178 H 265.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2D54C2
RGBrgb(45, 84, 194)
HSLhsl(224, 62%, 47%)
HSVhsv(224, 77%, 76%)
CMYKcmyk(76.8%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.23, 25.92, -61.48)
CIE-LCHlch(39.23, 66.73, 292.86°)
OKLaboklab(48.56% -0.0144 -0.1774)
OKLCHoklch(48.56% 0.178 265.4)
XYZxyz(13.9867, 10.7920, 52.3744)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54C2 #C29B2D
analogous
#2D9FC2 #2D54C2 #502DC2
triadic
#2D54C2 #C22D54 #54C22D
tetradic
#2D54C2 #C22D9F #C29B2D #2DC250
square
#2D54C2 #C22D9F #C29B2D #2DC250
split-complementary
#2D54C2 #C2502D #9FC22D
monochromatic
#16295F #213E90 #2D54C2 #5577D7 #869FE3

Accessibility & contrast

On white

6.65
#2D54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2D54C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54C2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54C2#FFFFFF#000000##FFFFFF
##2D54C21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d54c2;
/* rgb */ color: rgb(45, 84, 194);
/* oklch */ color: oklch(48.6% 0.178 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c83d5',
    500: '#2d54c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d54c2;
$custom-light: #7c83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54c2",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 224.295,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.17802,
    "h": 265.4
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#2D54C2
secondary
#CDB87E
accent
#BB42E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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