#2652A4#2652A4

#2652A4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.141 H 261.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2652A4
RGBrgb(38, 82, 164)
HSLhsl(219, 62%, 40%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(76.8%, 50%, 0%, 35.7%)
CIE-LABlab(36.23, 14.92, -48.66)
CIE-LCHlch(36.23, 50.90, 287.04°)
OKLaboklab(45.52% -0.021 -0.1399)
OKLCHoklch(45.52% 0.141 261.5)
XYZxyz(10.5150, 9.1258, 36.3220)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652A4 #A47826
analogous
#2691A4 #2652A4 #3926A4
triadic
#2652A4 #A42652 #52A426
tetradic
#2652A4 #A42691 #A47826 #26A439
square
#2652A4 #A42691 #A47826 #26A439
split-complementary
#2652A4 #A43926 #91A426
monochromatic
#0F2041 #1A3972 #2652A4 #376CD1 #6891DC

Accessibility & contrast

On white

7.43
#2652A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2652A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652A4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652A4#FFFFFF#000000##FFFFFF
##2652A41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2652a4;
/* rgb */ color: rgb(38, 82, 164);
/* oklch */ color: oklch(45.5% 0.141 261.5);
Tailwind
colors: {
  custom: {
    50: '#7382bf',
    500: '#2652a4',
    950: '#000000',
  },
}
SCSS
$custom: #2652a4;
$custom-light: #7382bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2652a4",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 219.048,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.14145,
    "h": 261.5
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#2652A4
secondary
#C2A164
accent
#AC42E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2652A4

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

Preview Lab → · Contrast checker → · Palette generator →

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