#2652A2#2652A2

#2652A2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.139 H 261.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2652A2
RGBrgb(38, 82, 162)
HSLhsl(219, 62%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(76.5%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.09, 14.14, -47.69)
CIE-LCHlch(36.09, 49.74, 286.51°)
OKLaboklab(45.37% -0.0213 -0.137)
OKLCHoklch(45.37% 0.139 261.2)
XYZxyz(10.3359, 9.0541, 35.3783)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652A2 #A27626
analogous
#2690A2 #2652A2 #3826A2
triadic
#2652A2 #A22652 #52A226
tetradic
#2652A2 #A22690 #A27626 #26A238
square
#2652A2 #A22690 #A27626 #26A238
split-complementary
#2652A2 #A23826 #90A226
monochromatic
#0F203F #1A3970 #2652A2 #356CD0 #6790DB

Accessibility & contrast

On white

7.47
#2652A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2652A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652A2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652A2#FFFFFF#000000##FFFFFF
##2652A21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2652a2;
/* rgb */ color: rgb(38, 82, 162);
/* oklch */ color: oklch(45.4% 0.139 261.2);
Tailwind
colors: {
  custom: {
    50: '#7382be',
    500: '#2652a2',
    950: '#000000',
  },
}
SCSS
$custom: #2652a2;
$custom-light: #7382be;
$custom-dark: #000000;
JSON
{
  "hex": "#2652a2",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 218.71,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.13865,
    "h": 261.2
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#2652A2
secondary
#C1A063
accent
#AB43E5
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2652A2

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

Preview Lab → · Contrast checker → · Palette generator →

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