#2B52A9#2B52A9

#2B52A9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.147 H 263.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2B52A9
RGBrgb(43, 82, 169)
HSLhsl(221, 59%, 42%)
HSVhsv(221, 75%, 66%)
CMYKcmyk(74.6%, 51.5%, 0%, 33.7%)
CIE-LABlab(36.76, 17.49, -50.77)
CIE-LCHlch(36.76, 53.70, 289.01°)
OKLaboklab(46.1% -0.0165 -0.146)
OKLCHoklch(46.1% 0.147 263.5)
XYZxyz(11.1724, 9.4115, 38.7562)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52A9 #A9822B
analogous
#2B91A9 #2B52A9 #432BA9
triadic
#2B52A9 #A92B52 #52A92B
tetradic
#2B52A9 #A92B91 #A9822B #2BA943
square
#2B52A9 #A92B91 #A9822B #2BA943
split-complementary
#2B52A9 #A9432B #91A92B
monochromatic
#122347 #1F3A78 #2B52A9 #426ECF #7393DB

Accessibility & contrast

On white

7.29
#2B52A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2B52A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B52A9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52A9#FFFFFF#000000##FFFFFF
##2B52A91.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b52a9;
/* rgb */ color: rgb(43, 82, 169);
/* oklch */ color: oklch(46.1% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#7682c3',
    500: '#2b52a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b52a9;
$custom-light: #7682c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52a9",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 221.429,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.14693,
    "h": 263.5
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#2B52A9
secondary
#C3A86D
accent
#B245E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B52A9

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

Preview Lab → · Contrast checker → · Palette generator →

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