#2C55AA#2C55AA

#2C55AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.144 H 262.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2C55AA
RGBrgb(44, 85, 170)
HSLhsl(220, 59%, 42%)
HSVhsv(220, 74%, 67%)
CMYKcmyk(74.1%, 50%, 0%, 33.3%)
CIE-LABlab(37.72, 16.02, -49.81)
CIE-LCHlch(37.72, 52.33, 287.83°)
OKLaboklab(46.86% -0.0182 -0.1431)
OKLCHoklch(46.86% 0.144 262.8)
XYZxyz(11.5403, 9.9335, 39.3316)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55AA #AA812C
analogous
#2C94AA #2C55AA #422CAA
triadic
#2C55AA #AA2C55 #55AA2C
tetradic
#2C55AA #AA2C94 #AA812C #2CAA42
square
#2C55AA #AA2C94 #AA812C #2CAA42
split-complementary
#2C55AA #AA422C #94AA2C
monochromatic
#132449 #1F3D79 #2C55AA #4471CF #7596DB

Accessibility & contrast

On white

7.03
#2C55AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C55AA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55AA#FFFFFF#000000##FFFFFF
##2C55AA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c55aa;
/* rgb */ color: rgb(44, 85, 170);
/* oklch */ color: oklch(46.9% 0.144 262.8);
Tailwind
colors: {
  custom: {
    50: '#7684c4',
    500: '#2c55aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c55aa;
$custom-light: #7684c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55aa",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 220.476,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.14426,
    "h": 262.8
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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