#2652BA#2652BA

#2652BA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.172 H 263.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2652BA
RGBrgb(38, 82, 186)
HSLhsl(222, 66%, 44%)
HSVhsv(222, 80%, 73%)
CMYKcmyk(79.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(37.83, 23.46, -59.10)
CIE-LCHlch(37.83, 63.59, 291.65°)
OKLaboklab(47.24% -0.0187 -0.1706)
OKLCHoklch(47.24% 0.172 263.7)
XYZxyz(12.6764, 9.9903, 47.7051)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2652BA #BA8E26
analogous
#269CBA #2652BA #4426BA
triadic
#2652BA #BA2652 #52BA26
tetradic
#2652BA #BA269C #BA8E26 #26BA44
square
#2652BA #BA269C #BA8E26 #26BA44
split-complementary
#2652BA #BA4426 #9CBA26
monochromatic
#112554 #1C3C87 #2652BA #4470D9 #7797E3

Accessibility & contrast

On white

7.00
#2652BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2652BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2652BA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2652BA#FFFFFF#000000##FFFFFF
##2652BA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2652ba;
/* rgb */ color: rgb(38, 82, 186);
/* oklch */ color: oklch(47.2% 0.172 263.7);
Tailwind
colors: {
  custom: {
    50: '#7882d0',
    500: '#2652ba',
    950: '#000000',
  },
}
SCSS
$custom: #2652ba;
$custom-light: #7882d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2652ba",
  "rgb": {
    "r": 38,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 222.162,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.1716,
    "h": 263.7
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#2652BA
secondary
#CBB071
accent
#B63FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2652BA

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

Preview Lab → · Contrast checker → · Palette generator →

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