#2D54C0#2D54C0

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

Color values

HEX#2D54C0
RGBrgb(45, 84, 192)
HSLhsl(224, 62%, 46%)
HSVhsv(224, 77%, 75%)
CMYKcmyk(76.6%, 56.3%, 0%, 24.7%)
CIE-LABlab(39.08, 25.17, -60.57)
CIE-LCHlch(39.08, 65.59, 292.57°)
OKLaboklab(48.4% -0.0145 -0.1747)
OKLCHoklch(48.4% 0.175 265.3)
XYZxyz(13.7636, 10.7028, 51.1994)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54C0 #C0992D
analogous
#2D9EC0 #2D54C0 #502DC0
triadic
#2D54C0 #C02D54 #54C02D
tetradic
#2D54C0 #C02D9E #C0992D #2DC050
square
#2D54C0 #C02D9E #C0992D #2DC050
split-complementary
#2D54C0 #C0502D #9EC02D
monochromatic
#16295D #213E8E #2D54C0 #5376D7 #859EE2

Accessibility & contrast

On white

6.69
#2D54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2D54C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54C0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54C0#FFFFFF#000000##FFFFFF
##2D54C01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d54c0;
/* rgb */ color: rgb(45, 84, 192);
/* oklch */ color: oklch(48.4% 0.175 265.3);
Tailwind
colors: {
  custom: {
    50: '#7c83d4',
    500: '#2d54c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d54c0;
$custom-light: #7c83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54c0",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 224.082,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.17535,
    "h": 265.3
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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