#2D54A3#2D54A3

#2D54A3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.135 H 262.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D54A3
RGBrgb(45, 84, 163)
HSLhsl(220, 57%, 41%)
HSVhsv(220, 72%, 64%)
CMYKcmyk(72.4%, 48.5%, 0%, 36.1%)
CIE-LABlab(37.01, 14.15, -46.79)
CIE-LCHlch(37.01, 48.89, 286.83°)
OKLaboklab(46.17% -0.0175 -0.1342)
OKLCHoklch(46.17% 0.135 262.6)
XYZxyz(10.8610, 9.5417, 35.9126)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54A3 #A37C2D
analogous
#2D8FA3 #2D54A3 #412DA3
triadic
#2D54A3 #A32D54 #54A32D
tetradic
#2D54A3 #A32D8F #A37C2D #2DA341
square
#2D54A3 #A32D8F #A37C2D #2DA341
split-complementary
#2D54A3 #A3412D #8FA32D
monochromatic
#132343 #203B73 #2D54A3 #426FCB #7294D8

Accessibility & contrast

On white

7.22
#2D54A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D54A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D54A3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54A3#FFFFFF#000000##FFFFFF
##2D54A31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA6
Deuteranopia (green-blind)
#0852A1
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d54a3;
/* rgb */ color: rgb(45, 84, 163);
/* oklch */ color: oklch(46.2% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#7583bf',
    500: '#2d54a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d54a3;
$custom-light: #7583bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54a3",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 220.169,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.13535,
    "h": 262.6
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#2D54A3
secondary
#C0A46C
accent
#AE48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D54A3

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

Preview Lab → · Contrast checker → · Palette generator →

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