#2D55A9#2D55A9

#2D55A9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.143 H 262.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2D55A9
RGBrgb(45, 85, 169)
HSLhsl(221, 58%, 42%)
HSVhsv(221, 73%, 66%)
CMYKcmyk(73.4%, 49.7%, 0%, 33.7%)
CIE-LABlab(37.70, 15.78, -49.26)
CIE-LCHlch(37.70, 51.73, 287.76°)
OKLaboklab(46.83% -0.0175 -0.1415)
OKLCHoklch(46.83% 0.143 262.9)
XYZxyz(11.4896, 9.9182, 38.8373)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55A9 #A9812D
analogous
#2D93A9 #2D55A9 #432DA9
triadic
#2D55A9 #A92D55 #55A92D
tetradic
#2D55A9 #A92D93 #A9812D #2DA943
square
#2D55A9 #A92D93 #A9812D #2DA943
split-complementary
#2D55A9 #A9432D #93A92D
monochromatic
#132448 #203D79 #2D55A9 #4671CE #7696DA

Accessibility & contrast

On white

7.04
#2D55A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2D55A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D55A9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55A9#FFFFFF#000000##FFFFFF
##2D55A91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d55a9;
/* rgb */ color: rgb(45, 85, 169);
/* oklch */ color: oklch(46.8% 0.143 262.9);
Tailwind
colors: {
  custom: {
    50: '#7784c3',
    500: '#2d55a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d55a9;
$custom-light: #7784c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55a9",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 169
  },
  "hsl": {
    "h": 220.645,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.14255,
    "h": 262.9
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D55A9

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

Preview Lab → · Contrast checker → · Palette generator →

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