#2D54CD#2D54CD

#2D54CD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.193 H 265.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2D54CD
RGBrgb(45, 84, 205)
HSLhsl(225, 64%, 49%)
HSVhsv(225, 78%, 80%)
CMYKcmyk(78%, 59%, 0%, 19.6%)
CIE-LABlab(40.09, 30.04, -66.46)
CIE-LCHlch(40.09, 72.93, 294.32°)
OKLaboklab(49.48% -0.014 -0.1921)
OKLCHoklch(49.48% 0.193 265.8)
XYZxyz(15.2681, 11.3046, 59.1231)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54CD #CDA62D
analogous
#2DA4CD #2D54CD #562DCD
triadic
#2D54CD #CD2D54 #54CD2D
tetradic
#2D54CD #CD2DA4 #CDA62D #2DCD56
square
#2D54CD #CD2DA4 #CDA62D #2DCD56
split-complementary
#2D54CD #CD562D #A4CD2D
monochromatic
#172B69 #223F9B #2D54CD #5C7BDB #8EA4E6

Accessibility & contrast

On white

6.44
#2D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54CD#FFFFFF#000000##FFFFFF
##2D54CD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d54cd;
/* rgb */ color: rgb(45, 84, 205);
/* oklch */ color: oklch(49.5% 0.193 265.8);
Tailwind
colors: {
  custom: {
    50: '#7f83dd',
    500: '#2d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #2d54cd;
$custom-light: #7f83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54cd",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 225.375,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.19257,
    "h": 265.8
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#2D54CD
secondary
#D1BE85
accent
#BE41E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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