#2D54BC#2D54BC

#2D54BC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.170 H 265.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2D54BC
RGBrgb(45, 84, 188)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 74%)
CMYKcmyk(76.1%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.77, 23.66, -58.72)
CIE-LCHlch(38.77, 63.31, 291.95°)
OKLaboklab(48.08% -0.0148 -0.1693)
OKLCHoklch(48.08% 0.17 265)
XYZxyz(13.3264, 10.5279, 48.8969)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54BC #BC952D
analogous
#2D9BBC #2D54BC #4D2DBC
triadic
#2D54BC #BC2D54 #54BC2D
tetradic
#2D54BC #BC2D9B #BC952D #2DBC4D
square
#2D54BC #BC2D9B #BC952D #2DBC4D
split-complementary
#2D54BC #BC4D2D #9BBC2D
monochromatic
#152859 #213E8B #2D54BC #5175D5 #829CE1

Accessibility & contrast

On white

6.76
#2D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54BC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54BC#FFFFFF#000000##FFFFFF
##2D54BC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d54bc;
/* rgb */ color: rgb(45, 84, 188);
/* oklch */ color: oklch(48.1% 0.170 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b83d1',
    500: '#2d54bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d54bc;
$custom-light: #7b83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54bc",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 223.636,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.16996,
    "h": 265
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#2D54BC
secondary
#CAB47B
accent
#B943E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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