#2652A7#2652A7

#2652A7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.146 H 261.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2652A7
RGBrgb(38, 82, 167)
HSLhsl(220, 63%, 40%)
HSVhsv(220, 77%, 65%)
CMYKcmyk(77.2%, 50.9%, 0%, 34.5%)
CIE-LABlab(36.43, 16.09, -50.12)
CIE-LCHlch(36.43, 52.64, 287.80°)
OKLaboklab(45.74% -0.0206 -0.1442)
OKLCHoklch(45.74% 0.146 261.9)
XYZxyz(10.7892, 9.2354, 37.7657)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652A7 #A77B26
analogous
#2692A7 #2652A7 #3B26A7
triadic
#2652A7 #A72652 #52A726
tetradic
#2652A7 #A72692 #A77B26 #26A73B
square
#2652A7 #A72692 #A77B26 #26A73B
split-complementary
#2652A7 #A73B26 #92A726
monochromatic
#0F2143 #1B3A75 #2652A7 #386DD2 #6A91DD

Accessibility & contrast

On white

7.38
#2652A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2652A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652A7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652A7#FFFFFF#000000##FFFFFF
##2652A71.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2652a7;
/* rgb */ color: rgb(38, 82, 167);
/* oklch */ color: oklch(45.7% 0.146 261.9);
Tailwind
colors: {
  custom: {
    50: '#7482c2',
    500: '#2652a7',
    950: '#000000',
  },
}
SCSS
$custom: #2652a7;
$custom-light: #7482c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2652a7",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 219.535,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.14562,
    "h": 261.9
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#2652A7
secondary
#C3A365
accent
#AE42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2652A7

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

Preview Lab → · Contrast checker → · Palette generator →

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