#2D54C1#2D54C1

#2D54C1 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.177 H 265.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2D54C1
RGBrgb(45, 84, 193)
HSLhsl(224, 62%, 47%)
HSVhsv(224, 77%, 76%)
CMYKcmyk(76.7%, 56.5%, 0%, 24.3%)
CIE-LABlab(39.15, 25.55, -61.03)
CIE-LCHlch(39.15, 66.16, 292.72°)
OKLaboklab(48.48% -0.0145 -0.1761)
OKLCHoklch(48.48% 0.177 265.3)
XYZxyz(13.8748, 10.7472, 51.7849)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54C1 #C19A2D
analogous
#2D9EC1 #2D54C1 #502DC1
triadic
#2D54C1 #C12D54 #54C12D
tetradic
#2D54C1 #C12D9E #C19A2D #2DC150
square
#2D54C1 #C12D9E #C19A2D #2DC150
split-complementary
#2D54C1 #C1502D #9EC12D
monochromatic
#16295E #213E8F #2D54C1 #5477D7 #869EE3

Accessibility & contrast

On white

6.67
#2D54C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2D54C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54C1
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54C1#FFFFFF#000000##FFFFFF
##2D54C11.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d54c1;
/* rgb */ color: rgb(45, 84, 193);
/* oklch */ color: oklch(48.5% 0.177 265.3);
Tailwind
colors: {
  custom: {
    50: '#7c83d5',
    500: '#2d54c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d54c1;
$custom-light: #7c83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54c1",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 224.189,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.17669,
    "h": 265.3
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#2D54C1
secondary
#CCB77E
accent
#BA43E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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