#2252C9#2252C9

#2252C9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.192 H 263.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2252C9
RGBrgb(34, 82, 201)
HSLhsl(223, 71%, 46%)
HSVhsv(223, 83%, 79%)
CMYKcmyk(83.1%, 59.2%, 0%, 21.2%)
CIE-LABlab(38.88, 28.85, -66.13)
CIE-LCHlch(38.88, 72.15, 293.57°)
OKLaboklab(48.37% -0.0205 -0.1913)
OKLCHoklch(48.37% 0.192 263.9)
XYZxyz(14.2158, 10.5900, 56.5418)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2252C9 #C99922
analogous
#22A5C9 #2252C9 #4522C9
triadic
#2252C9 #C92252 #52C922
tetradic
#2252C9 #C922A5 #C99922 #22C945
square
#2252C9 #C922A5 #C99922 #22C945
split-complementary
#2252C9 #C94522 #A5C922
monochromatic
#102760 #193D95 #2252C9 #4874E0 #7C9CE9

Accessibility & contrast

On white

6.73
#2252C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2252C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2252C9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2252C9#FFFFFF#000000##FFFFFF
##2252C91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2252c9;
/* rgb */ color: rgb(34, 82, 201);
/* oklch */ color: oklch(48.4% 0.192 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b82da',
    500: '#2252c9',
    950: '#000000',
  },
}
SCSS
$custom: #2252c9;
$custom-light: #7b82da;
$custom-dark: #000000;
JSON
{
  "hex": "#2252c9",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 222.754,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.19239,
    "h": 263.9
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

primary
#2252C9
secondary
#D1B776
accent
#BA3AEE
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2252C9

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

Preview Lab → · Contrast checker → · Palette generator →

#2252C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva