#2C55A2#2C55A2

#2C55A2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.133 H 261.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2C55A2
RGBrgb(44, 85, 162)
HSLhsl(219, 57%, 40%)
HSVhsv(219, 73%, 64%)
CMYKcmyk(72.8%, 47.5%, 0%, 36.5%)
CIE-LABlab(37.19, 12.96, -45.91)
CIE-LCHlch(37.19, 47.70, 285.77°)
OKLaboklab(46.28% -0.0194 -0.1316)
OKLCHoklch(46.28% 0.133 261.6)
XYZxyz(10.8065, 9.6400, 35.4666)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55A2 #A2792C
analogous
#2C90A2 #2C55A2 #3E2CA2
triadic
#2C55A2 #A22C55 #55A22C
tetradic
#2C55A2 #A22C90 #A2792C #2CA23E
square
#2C55A2 #A22C90 #A2792C #2CA23E
split-complementary
#2C55A2 #A23E2C #90A22C
monochromatic
#122242 #1F3C72 #2C55A2 #4070CB #7094D8

Accessibility & contrast

On white

7.17
#2C55A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C55A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C55A2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55A2#FFFFFF#000000##FFFFFF
##2C55A21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c55a2;
/* rgb */ color: rgb(44, 85, 162);
/* oklch */ color: oklch(46.3% 0.133 261.6);
Tailwind
colors: {
  custom: {
    50: '#7584be',
    500: '#2c55a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c55a2;
$custom-light: #7584be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55a2",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 219.153,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.13303,
    "h": 261.6
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#2C55A2
secondary
#BFA26A
accent
#AB47E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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