#2652B2#2652B2

#2652B2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.161 H 263.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2652B2
RGBrgb(38, 82, 178)
HSLhsl(221, 65%, 42%)
HSVhsv(221, 79%, 70%)
CMYKcmyk(78.7%, 53.9%, 0%, 30.2%)
CIE-LABlab(37.22, 20.36, -55.37)
CIE-LCHlch(37.22, 58.99, 290.19°)
OKLaboklab(46.6% -0.0193 -0.1596)
OKLCHoklch(46.6% 0.161 263.1)
XYZxyz(11.8496, 9.6596, 43.3508)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652B2 #B28626
analogous
#2698B2 #2652B2 #4026B2
triadic
#2652B2 #B22652 #52B226
tetradic
#2652B2 #B22698 #B28626 #26B240
square
#2652B2 #B22698 #B28626 #26B240
split-complementary
#2652B2 #B24026 #98B226
monochromatic
#10244D #1B3B80 #2652B2 #3F6FD6 #7295E1

Accessibility & contrast

On white

7.16
#2652B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2652B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2652B2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652B2#FFFFFF#000000##FFFFFF
##2652B21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2652b2;
/* rgb */ color: rgb(38, 82, 178);
/* oklch */ color: oklch(46.6% 0.161 263.1);
Tailwind
colors: {
  custom: {
    50: '#7682ca',
    500: '#2652b2',
    950: '#000000',
  },
}
SCSS
$custom: #2652b2;
$custom-light: #7682ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2652b2",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 221.143,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.16078,
    "h": 263.1
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#2652B2
secondary
#C8AB6C
accent
#B340E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2652B2

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

Preview Lab → · Contrast checker → · Palette generator →

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