#2B52AA#2B52AA

#2B52AA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.148 H 263.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2B52AA
RGBrgb(43, 82, 170)
HSLhsl(222, 60%, 42%)
HSVhsv(222, 75%, 67%)
CMYKcmyk(74.7%, 51.8%, 0%, 33.3%)
CIE-LABlab(36.84, 17.88, -51.25)
CIE-LCHlch(36.84, 54.28, 289.23°)
OKLaboklab(46.17% -0.0164 -0.1474)
OKLCHoklch(46.17% 0.148 263.6)
XYZxyz(11.2667, 9.4492, 39.2525)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52AA #AA832B
analogous
#2B92AA #2B52AA #442BAA
triadic
#2B52AA #AA2B52 #52AA2B
tetradic
#2B52AA #AA2B92 #AA832B #2BAA44
square
#2B52AA #AA2B92 #AA832B #2BAA44
split-complementary
#2B52AA #AA442B #92AA2B
monochromatic
#122348 #1F3A79 #2B52AA #436ECF #7494DC

Accessibility & contrast

On white

7.27
#2B52AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B52AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B52AA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52AA#FFFFFF#000000##FFFFFF
##2B52AA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b52aa;
/* rgb */ color: rgb(43, 82, 170);
/* oklch */ color: oklch(46.2% 0.148 263.6);
Tailwind
colors: {
  custom: {
    50: '#7682c4',
    500: '#2b52aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b52aa;
$custom-light: #7682c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52aa",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 221.575,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.14831,
    "h": 263.6
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#2B52AA
secondary
#C3A96E
accent
#B245E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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