#2652A8#2652A8

#2652A8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.147 H 262.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2652A8
RGBrgb(38, 82, 168)
HSLhsl(220, 63%, 40%)
HSVhsv(220, 77%, 66%)
CMYKcmyk(77.4%, 51.2%, 0%, 34.1%)
CIE-LABlab(36.50, 16.48, -50.60)
CIE-LCHlch(36.50, 53.22, 288.04°)
OKLaboklab(45.82% -0.0205 -0.1456)
OKLCHoklch(45.82% 0.147 262)
XYZxyz(10.8820, 9.2726, 38.2545)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652A8 #A87C26
analogous
#2693A8 #2652A8 #3B26A8
triadic
#2652A8 #A82652 #52A826
tetradic
#2652A8 #A82693 #A87C26 #26A83B
square
#2652A8 #A82693 #A87C26 #26A83B
split-complementary
#2652A8 #A83B26 #93A826
monochromatic
#0F2144 #1B3A76 #2652A8 #396DD2 #6B92DE

Accessibility & contrast

On white

7.36
#2652A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2652A8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652A8#FFFFFF#000000##FFFFFF
##2652A81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2652a8;
/* rgb */ color: rgb(38, 82, 168);
/* oklch */ color: oklch(45.8% 0.147 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482c2',
    500: '#2652a8',
    950: '#000000',
  },
}
SCSS
$custom: #2652a8;
$custom-light: #7482c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2652a8",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 219.692,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.14702,
    "h": 262
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2652A8

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

Preview Lab → · Contrast checker → · Palette generator →

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