#2D55B8#2D55B8

#2D55B8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.163 H 264.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D55B8
RGBrgb(45, 85, 184)
HSLhsl(223, 61%, 45%)
HSVhsv(223, 76%, 72%)
CMYKcmyk(75.5%, 53.8%, 0%, 27.8%)
CIE-LABlab(38.75, 21.49, -56.41)
CIE-LCHlch(38.75, 60.37, 290.85°)
OKLaboklab(47.97% -0.0158 -0.1625)
OKLCHoklch(47.97% 0.163 264.4)
XYZxyz(12.9794, 10.5141, 46.6835)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55B8 #B8902D
analogous
#2D9AB8 #2D55B8 #4B2DB8
triadic
#2D55B8 #B82D55 #55B82D
tetradic
#2D55B8 #B82D9A #B8902D #2DB84B
square
#2D55B8 #B82D9A #B8902D #2DB84B
split-complementary
#2D55B8 #B84B2D #9AB82D
monochromatic
#152856 #213E87 #2D55B8 #4E75D4 #809BE0

Accessibility & contrast

On white

6.77
#2D55B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D55B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55B8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55B8#FFFFFF#000000##FFFFFF
##2D55B81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d55b8;
/* rgb */ color: rgb(45, 85, 184);
/* oklch */ color: oklch(48.0% 0.163 264.4);
Tailwind
colors: {
  custom: {
    50: '#7a84ce',
    500: '#2d55b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d55b8;
$custom-light: #7a84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55b8",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 222.734,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.16329,
    "h": 264.4
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#2D55B8
secondary
#C9B178
accent
#B644E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D55B8

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

Preview Lab → · Contrast checker → · Palette generator →

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