#2652A3#2652A3

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

Color values

HEX#2652A3
RGBrgb(38, 82, 163)
HSLhsl(219, 62%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(76.7%, 49.7%, 0%, 36.1%)
CIE-LABlab(36.16, 14.53, -48.18)
CIE-LCHlch(36.16, 50.32, 286.78°)
OKLaboklab(45.44% -0.0211 -0.1384)
OKLCHoklch(45.44% 0.14 261.3)
XYZxyz(10.4251, 9.0898, 35.8483)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652A3 #A37726
analogous
#2691A3 #2652A3 #3926A3
triadic
#2652A3 #A32652 #52A326
tetradic
#2652A3 #A32691 #A37726 #26A339
square
#2652A3 #A32691 #A37726 #26A339
split-complementary
#2652A3 #A33926 #91A326
monochromatic
#0F2040 #1A3971 #2652A3 #366CD0 #6891DC

Accessibility & contrast

On white

7.45
#2652A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2652A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652A3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652A3#FFFFFF#000000##FFFFFF
##2652A31.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2652a3;
/* rgb */ color: rgb(38, 82, 163);
/* oklch */ color: oklch(45.4% 0.140 261.3);
Tailwind
colors: {
  custom: {
    50: '#7382bf',
    500: '#2652a3',
    950: '#000000',
  },
}
SCSS
$custom: #2652a3;
$custom-light: #7382bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2652a3",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 218.88,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.14005,
    "h": 261.3
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#2652A3
secondary
#C2A063
accent
#AC43E5
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2652A3

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

Preview Lab → · Contrast checker → · Palette generator →

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