#2D55A3#2D55A3

#2D55A3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.134 H 262.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2D55A3
RGBrgb(45, 85, 163)
HSLhsl(220, 57%, 41%)
HSVhsv(220, 72%, 64%)
CMYKcmyk(72.4%, 47.9%, 0%, 36.1%)
CIE-LABlab(37.30, 13.49, -46.33)
CIE-LCHlch(37.30, 48.25, 286.24°)
OKLaboklab(46.39% -0.0184 -0.1328)
OKLCHoklch(46.39% 0.134 262.1)
XYZxyz(10.9392, 9.6981, 35.9386)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55A3 #A37B2D
analogous
#2D90A3 #2D55A3 #402DA3
triadic
#2D55A3 #A32D55 #55A32D
tetradic
#2D55A3 #A32D90 #A37B2D #2DA340
square
#2D55A3 #A32D90 #A37B2D #2DA340
split-complementary
#2D55A3 #A3402D #90A32D
monochromatic
#132343 #203C73 #2D55A3 #4271CB #7295D8

Accessibility & contrast

On white

7.14
#2D55A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D55A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D55A3
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55A3#FFFFFF#000000##FFFFFF
##2D55A31.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA6
Deuteranopia (green-blind)
#0E53A1
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d55a3;
/* rgb */ color: rgb(45, 85, 163);
/* oklch */ color: oklch(46.4% 0.134 262.1);
Tailwind
colors: {
  custom: {
    50: '#7584bf',
    500: '#2d55a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d55a3;
$custom-light: #7584bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55a3",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 163
  },
  "hsl": {
    "h": 219.661,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.13411,
    "h": 262.1
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#2D55A3
secondary
#C0A36C
accent
#AC48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D55A3

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

Preview Lab → · Contrast checker → · Palette generator →

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