#2652AB#2652AB

#2652AB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.151 H 262.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2652AB
RGBrgb(38, 82, 171)
HSLhsl(220, 64%, 41%)
HSVhsv(220, 78%, 67%)
CMYKcmyk(77.8%, 52%, 0%, 32.9%)
CIE-LABlab(36.72, 17.65, -52.04)
CIE-LCHlch(36.72, 54.95, 288.73°)
OKLaboklab(46.05% -0.0201 -0.1498)
OKLCHoklch(46.05% 0.151 262.4)
XYZxyz(11.1647, 9.3856, 39.7434)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652AB #AB7F26
analogous
#2694AB #2652AB #3C26AB
triadic
#2652AB #AB2652 #52AB26
tetradic
#2652AB #AB2694 #AB7F26 #26AB3C
square
#2652AB #AB2694 #AB7F26 #26AB3C
split-complementary
#2652AB #AB3C26 #94AB26
monochromatic
#102247 #1B3A79 #2652AB #3B6DD3 #6D92DF

Accessibility & contrast

On white

7.30
#2652AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2652AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652AB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652AB#FFFFFF#000000##FFFFFF
##2652AB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2652ab;
/* rgb */ color: rgb(38, 82, 171);
/* oklch */ color: oklch(46.1% 0.151 262.4);
Tailwind
colors: {
  custom: {
    50: '#7582c5',
    500: '#2652ab',
    950: '#000000',
  },
}
SCSS
$custom: #2652ab;
$custom-light: #7582c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2652ab",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 220.15,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.15117,
    "h": 262.4
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#2652AB
secondary
#C5A668
accent
#B041E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2652AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2652AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva