#2D55AB#2D55AB

#2D55AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.145 H 263.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2D55AB
RGBrgb(45, 85, 171)
HSLhsl(221, 58%, 42%)
HSVhsv(221, 74%, 67%)
CMYKcmyk(73.7%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.83, 16.54, -50.23)
CIE-LCHlch(37.83, 52.88, 288.23°)
OKLaboklab(46.98% -0.0173 -0.1443)
OKLCHoklch(46.98% 0.145 263.2)
XYZxyz(11.6788, 9.9939, 39.8337)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55AB #AB832D
analogous
#2D94AB #2D55AB #442DAB
triadic
#2D55AB #AB2D55 #55AB2D
tetradic
#2D55AB #AB2D94 #AB832D #2DAB44
square
#2D55AB #AB2D94 #AB832D #2DAB44
split-complementary
#2D55AB #AB442D #94AB2D
monochromatic
#14254A #203D7B #2D55AB #4772CE #7797DB

Accessibility & contrast

On white

7.00
#2D55AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2D55AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55AB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55AB#FFFFFF#000000##FFFFFF
##2D55AB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d55ab;
/* rgb */ color: rgb(45, 85, 171);
/* oklch */ color: oklch(47.0% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#7784c5',
    500: '#2d55ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d55ab;
$custom-light: #7784c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55ab",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 220.952,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46975,
    "c": 0.14535,
    "h": 263.2
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#2D55AB
secondary
#C3A971
accent
#B046E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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