#2D54C8#2D54C8

#2D54C8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.186 H 265.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2D54C8
RGBrgb(45, 84, 200)
HSLhsl(225, 63%, 48%)
HSVhsv(225, 78%, 78%)
CMYKcmyk(77.5%, 58%, 0%, 21.6%)
CIE-LABlab(39.69, 28.17, -64.21)
CIE-LCHlch(39.69, 70.12, 293.69°)
OKLaboklab(49.06% -0.0141 -0.1855)
OKLCHoklch(49.06% 0.186 265.6)
XYZxyz(14.6742, 11.0670, 55.9951)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54C8 #C8A12D
analogous
#2DA1C8 #2D54C8 #532DC8
triadic
#2D54C8 #C82D54 #54C82D
tetradic
#2D54C8 #C82DA1 #C8A12D #2DC853
square
#2D54C8 #C82DA1 #C8A12D #2DC853
split-complementary
#2D54C8 #C8532D #A1C82D
monochromatic
#172A64 #223F96 #2D54C8 #5979DA #8BA1E5

Accessibility & contrast

On white

6.53
#2D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2D54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54C8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54C8#FFFFFF#000000##FFFFFF
##2D54C81.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d54c8;
/* rgb */ color: rgb(45, 84, 200);
/* oklch */ color: oklch(49.1% 0.186 265.6);
Tailwind
colors: {
  custom: {
    50: '#7e83da',
    500: '#2d54c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d54c8;
$custom-light: #7e83da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54c8",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 224.903,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.186,
    "h": 265.6
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#2D54C8
secondary
#CFBB82
accent
#BD41E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2D54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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