#2652B4#2652B4

#2652B4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.164 H 263.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2652B4
RGBrgb(38, 82, 180)
HSLhsl(221, 65%, 43%)
HSVhsv(221, 79%, 71%)
CMYKcmyk(78.9%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.37, 21.14, -56.31)
CIE-LCHlch(37.37, 60.14, 290.58°)
OKLaboklab(46.76% -0.0192 -0.1624)
OKLCHoklch(46.76% 0.164 263.3)
XYZxyz(12.0519, 9.7405, 44.4161)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652B4 #B48826
analogous
#2699B4 #2652B4 #4126B4
triadic
#2652B4 #B42652 #52B426
tetradic
#2652B4 #B42699 #B48826 #26B441
square
#2652B4 #B42699 #B48826 #26B441
split-complementary
#2652B4 #B44126 #99B426
monochromatic
#11244F #1B3B81 #2652B4 #406FD7 #7395E1

Accessibility & contrast

On white

7.12
#2652B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2652B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652B4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652B4#FFFFFF#000000##FFFFFF
##2652B41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2652b4;
/* rgb */ color: rgb(38, 82, 180);
/* oklch */ color: oklch(46.8% 0.164 263.3);
Tailwind
colors: {
  custom: {
    50: '#7782cb',
    500: '#2652b4',
    950: '#000000',
  },
}
SCSS
$custom: #2652b4;
$custom-light: #7782cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2652b4",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 221.408,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.1635,
    "h": 263.3
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#2652B4
secondary
#C9AC6D
accent
#B440E8
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2652B4

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

Preview Lab → · Contrast checker → · Palette generator →

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