#2252A9#2252A9

#2252A9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.150 H 261.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2252A9
RGBrgb(34, 82, 169)
HSLhsl(219, 67%, 40%)
HSVhsv(219, 80%, 66%)
CMYKcmyk(79.9%, 51.5%, 0%, 33.7%)
CIE-LABlab(36.44, 16.42, -51.31)
CIE-LCHlch(36.44, 53.87, 287.74°)
OKLaboklab(45.75% -0.0231 -0.1477)
OKLCHoklch(45.75% 0.15 261.1)
XYZxyz(10.8358, 9.2380, 38.7404)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2252A9 #A97922
analogous
#2295A9 #2252A9 #3622A9
triadic
#2252A9 #A92252 #52A922
tetradic
#2252A9 #A92295 #A97922 #22A936
square
#2252A9 #A92295 #A97922 #22A936
split-complementary
#2252A9 #A93622 #95A922
monochromatic
#0D2143 #183976 #2252A9 #326CD6 #6591E0

Accessibility & contrast

On white

7.37
#2252A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2252A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2252A9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2252A9#FFFFFF#000000##FFFFFF
##2252A91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2252a9;
/* rgb */ color: rgb(34, 82, 169);
/* oklch */ color: oklch(45.8% 0.150 261.1);
Tailwind
colors: {
  custom: {
    50: '#7382c3',
    500: '#2252a9',
    950: '#000000',
  },
}
SCSS
$custom: #2252a9;
$custom-light: #7382c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2252a9",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 218.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.14952,
    "h": 261.1
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#2252A9
secondary
#C5A261
accent
#AD3EE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2252A9

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

Preview Lab → · Contrast checker → · Palette generator →

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