#2D55B9#2D55B9

#2D55B9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.165 H 264.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2D55B9
RGBrgb(45, 85, 185)
HSLhsl(223, 61%, 45%)
HSVhsv(223, 76%, 73%)
CMYKcmyk(75.7%, 54.1%, 0%, 27.5%)
CIE-LABlab(38.82, 21.87, -56.88)
CIE-LCHlch(38.82, 60.94, 291.03°)
OKLaboklab(48.04% -0.0157 -0.1639)
OKLCHoklch(48.04% 0.165 264.5)
XYZxyz(13.0845, 10.5562, 47.2375)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55B9 #B9912D
analogous
#2D9BB9 #2D55B9 #4B2DB9
triadic
#2D55B9 #B92D55 #55B92D
tetradic
#2D55B9 #B92D9B #B9912D #2DB94B
square
#2D55B9 #B92D9B #B9912D #2DB94B
split-complementary
#2D55B9 #B94B2D #9BB92D
monochromatic
#152857 #213E88 #2D55B9 #4F75D4 #809CE0

Accessibility & contrast

On white

6.75
#2D55B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D55B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55B9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55B9#FFFFFF#000000##FFFFFF
##2D55B91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d55b9;
/* rgb */ color: rgb(45, 85, 185);
/* oklch */ color: oklch(48.0% 0.165 264.5);
Tailwind
colors: {
  custom: {
    50: '#7a84cf',
    500: '#2d55b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d55b9;
$custom-light: #7a84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55b9",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 185
  },
  "hsl": {
    "h": 222.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.16466,
    "h": 264.5
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D55B9

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

Preview Lab → · Contrast checker → · Palette generator →

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