#2B55AA#2B55AA

#2B55AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.145 H 262.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2B55AA
RGBrgb(43, 85, 170)
HSLhsl(220, 60%, 42%)
HSVhsv(220, 75%, 67%)
CMYKcmyk(74.7%, 50%, 0%, 33.3%)
CIE-LABlab(37.68, 15.89, -49.88)
CIE-LCHlch(37.68, 52.35, 287.67°)
OKLaboklab(46.82% -0.019 -0.1433)
OKLCHoklch(46.82% 0.145 262.5)
XYZxyz(11.4979, 9.9116, 39.3296)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B55AA #AA802B
analogous
#2B95AA #2B55AA #402BAA
triadic
#2B55AA #AA2B55 #55AA2B
tetradic
#2B55AA #AA2B95 #AA802B #2BAA40
square
#2B55AA #AA2B95 #AA802B #2BAA40
split-complementary
#2B55AA #AA402B #95AA2B
monochromatic
#122448 #1F3D79 #2B55AA #4371CF #7496DC

Accessibility & contrast

On white

7.04
#2B55AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B55AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B55AA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B55AA#FFFFFF#000000##FFFFFF
##2B55AA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.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: #2b55aa;
/* rgb */ color: rgb(43, 85, 170);
/* oklch */ color: oklch(46.8% 0.145 262.5);
Tailwind
colors: {
  custom: {
    50: '#7684c4',
    500: '#2b55aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b55aa;
$custom-light: #7684c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b55aa",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 220.157,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.14457,
    "h": 262.5
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#2B55AA
secondary
#C3A76E
accent
#AF45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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