#2D55B2#2D55B2

#2D55B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.155 H 263.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2D55B2
RGBrgb(45, 85, 178)
HSLhsl(222, 60%, 44%)
HSVhsv(222, 75%, 70%)
CMYKcmyk(74.7%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.32, 19.21, -53.58)
CIE-LCHlch(38.32, 56.92, 289.72°)
OKLaboklab(47.5% -0.0164 -0.1542)
OKLCHoklch(47.5% 0.155 263.9)
XYZxyz(12.3637, 10.2679, 43.4411)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D55B2 #B28A2D
analogous
#2D97B2 #2D55B2 #472DB2
triadic
#2D55B2 #B22D55 #55B22D
tetradic
#2D55B2 #B22D97 #B28A2D #2DB247
square
#2D55B2 #B22D97 #B28A2D #2DB247
split-complementary
#2D55B2 #B2472D #97B22D
monochromatic
#142650 #213E81 #2D55B2 #4B73D1 #7C99DE

Accessibility & contrast

On white

6.88
#2D55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2D55B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D55B2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D55B2#FFFFFF#000000##FFFFFF
##2D55B21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d55b2;
/* rgb */ color: rgb(45, 85, 178);
/* oklch */ color: oklch(47.5% 0.155 263.9);
Tailwind
colors: {
  custom: {
    50: '#7984ca',
    500: '#2d55b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d55b2;
$custom-light: #7984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d55b2",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 221.955,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.15505,
    "h": 263.9
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#2D55B2
secondary
#C6AE75
accent
#B345E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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