#2D54A9#2D54A9

#2D54A9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.144 H 263.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2D54A9
RGBrgb(45, 84, 169)
HSLhsl(221, 58%, 42%)
HSVhsv(221, 73%, 66%)
CMYKcmyk(73.4%, 50.3%, 0%, 33.7%)
CIE-LABlab(37.41, 16.44, -49.72)
CIE-LCHlch(37.41, 52.37, 288.30°)
OKLaboklab(46.61% -0.0167 -0.1428)
OKLCHoklch(46.61% 0.144 263.4)
XYZxyz(11.4114, 9.7619, 38.8113)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54A9 #A9822D
analogous
#2D92A9 #2D54A9 #442DA9
triadic
#2D54A9 #A92D54 #54A92D
tetradic
#2D54A9 #A92D92 #A9822D #2DA944
square
#2D54A9 #A92D92 #A9822D #2DA944
split-complementary
#2D54A9 #A9442D #92A92D
monochromatic
#132448 #203C79 #2D54A9 #4670CE #7696DA

Accessibility & contrast

On white

7.11
#2D54A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2D54A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D54A9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54A9#FFFFFF#000000##FFFFFF
##2D54A91.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d54a9;
/* rgb */ color: rgb(45, 84, 169);
/* oklch */ color: oklch(46.6% 0.144 263.4);
Tailwind
colors: {
  custom: {
    50: '#7783c3',
    500: '#2d54a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d54a9;
$custom-light: #7783c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54a9",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 221.129,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4661,
    "c": 0.1438,
    "h": 263.4
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#2D54A9
secondary
#C2A86F
accent
#B147E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2D54A9

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

Preview Lab → · Contrast checker → · Palette generator →

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