#2C55AF#2C55AF

#2C55AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.151 H 263.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2C55AF
RGBrgb(44, 85, 175)
HSLhsl(221, 60%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(74.9%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.07, 17.94, -52.22)
CIE-LCHlch(38.07, 55.21, 288.96°)
OKLaboklab(47.23% -0.0175 -0.1502)
OKLCHoklch(47.23% 0.151 263.3)
XYZxyz(12.0223, 10.1263, 41.8701)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C55AF #AF862C
analogous
#2C96AF #2C55AF #442CAF
triadic
#2C55AF #AF2C55 #55AF2C
tetradic
#2C55AF #AF2C96 #AF862C #2CAF44
square
#2C55AF #AF2C96 #AF862C #2CAF44
split-complementary
#2C55AF #AF442C #96AF2C
monochromatic
#13254D #203D7E #2C55AF #4772D1 #7898DD

Accessibility & contrast

On white

6.94
#2C55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2C55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C55AF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C55AF#FFFFFF#000000##FFFFFF
##2C55AF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c55af;
/* rgb */ color: rgb(44, 85, 175);
/* oklch */ color: oklch(47.2% 0.151 263.3);
Tailwind
colors: {
  custom: {
    50: '#7884c7',
    500: '#2c55af',
    950: '#000000',
  },
}
SCSS
$custom: #2c55af;
$custom-light: #7884c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c55af",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 221.221,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.15121,
    "h": 263.3
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#2C55AF
secondary
#C5AB72
accent
#B145E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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