#2D55B7#2D55B7

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

Color values

HEX#2D55B7
RGBrgb(45, 85, 183)
HSLhsl(223, 61%, 45%)
HSVhsv(223, 75%, 72%)
CMYKcmyk(75.4%, 53.6%, 0%, 28.2%)
CIE-LABlab(38.68, 21.11, -55.94)
CIE-LCHlch(38.68, 59.79, 290.67°)
OKLaboklab(47.89% -0.0159 -0.1611)
OKLCHoklch(47.89% 0.162 264.4)
XYZxyz(12.8749, 10.4724, 46.1334)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55B7 #B78F2D
analogous
#2D9AB7 #2D55B7 #4A2DB7
triadic
#2D55B7 #B72D55 #55B72D
tetradic
#2D55B7 #B72D9A #B78F2D #2DB74A
square
#2D55B7 #B72D9A #B78F2D #2DB74A
split-complementary
#2D55B7 #B74A2D #9AB72D
monochromatic
#152755 #213E86 #2D55B7 #4E75D3 #7F9BDF

Accessibility & contrast

On white

6.79
#2D55B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2D55B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55B7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55B7#FFFFFF#000000##FFFFFF
##2D55B71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d55b7;
/* rgb */ color: rgb(45, 85, 183);
/* oklch */ color: oklch(47.9% 0.162 264.4);
Tailwind
colors: {
  custom: {
    50: '#7a84cd',
    500: '#2d55b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d55b7;
$custom-light: #7a84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55b7",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 222.609,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.16193,
    "h": 264.4
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#2D55B7
secondary
#C8B178
accent
#B544E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D55B7

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

Preview Lab → · Contrast checker → · Palette generator →

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