#2C55AB#2C55AB

#2C55AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.146 H 262.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2C55AB
RGBrgb(44, 85, 171)
HSLhsl(221, 59%, 42%)
HSVhsv(221, 74%, 67%)
CMYKcmyk(74.3%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.79, 16.41, -50.30)
CIE-LCHlch(37.79, 52.90, 288.07°)
OKLaboklab(46.93% -0.018 -0.1445)
OKLCHoklch(46.93% 0.146 262.9)
XYZxyz(11.6353, 9.9715, 39.8317)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55AB #AB822C
analogous
#2C95AB #2C55AB #432CAB
triadic
#2C55AB #AB2C55 #55AB2C
tetradic
#2C55AB #AB2C95 #AB822C #2CAB43
square
#2C55AB #AB2C95 #AB822C #2CAB43
split-complementary
#2C55AB #AB432C #95AB2C
monochromatic
#13254A #1F3D7A #2C55AB #4572CF #7697DC

Accessibility & contrast

On white

7.01
#2C55AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2C55AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C55AB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55AB#FFFFFF#000000##FFFFFF
##2C55AB1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c55ab;
/* rgb */ color: rgb(44, 85, 171);
/* oklch */ color: oklch(46.9% 0.146 262.9);
Tailwind
colors: {
  custom: {
    50: '#7784c5',
    500: '#2c55ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c55ab;
$custom-light: #7784c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55ab",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 220.63,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46933,
    "c": 0.14565,
    "h": 262.9
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#2C55AB
secondary
#C3A86F
accent
#B046E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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