#2A55AF#2A55AF

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

Color values

HEX#2A55AF
RGBrgb(42, 85, 175)
HSLhsl(221, 61%, 43%)
HSVhsv(221, 76%, 69%)
CMYKcmyk(76%, 51.4%, 0%, 31.4%)
CIE-LABlab(37.99, 17.68, -52.35)
CIE-LCHlch(37.99, 55.25, 288.67°)
OKLaboklab(47.15% -0.0191 -0.1506)
OKLCHoklch(47.15% 0.152 262.8)
XYZxyz(11.9384, 10.0830, 41.8662)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55AF #AF842A
analogous
#2A97AF #2A55AF #422AAF
triadic
#2A55AF #AF2A55 #55AF2A
tetradic
#2A55AF #AF2A97 #AF842A #2AAF42
square
#2A55AF #AF2A97 #AF842A #2AAF42
split-complementary
#2A55AF #AF422A #97AF2A
monochromatic
#12254C #1E3D7E #2A55AF #4472D2 #7597DE

Accessibility & contrast

On white

6.96
#2A55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2A55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55AF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55AF#FFFFFF#000000##FFFFFF
##2A55AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a55af;
/* rgb */ color: rgb(42, 85, 175);
/* oklch */ color: oklch(47.2% 0.152 262.8);
Tailwind
colors: {
  custom: {
    50: '#7784c7',
    500: '#2a55af',
    950: '#000000',
  },
}
SCSS
$custom: #2a55af;
$custom-light: #7784c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55af",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 220.602,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47152,
    "c": 0.1518,
    "h": 262.8
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#2A55AF
secondary
#C6AA6F
accent
#B043E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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