#2252AE#2252AE

#2252AE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.156 H 261.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2252AE
RGBrgb(34, 82, 174)
HSLhsl(219, 67%, 41%)
HSVhsv(219, 80%, 68%)
CMYKcmyk(80.5%, 52.9%, 0%, 31.8%)
CIE-LABlab(36.80, 18.38, -53.70)
CIE-LCHlch(36.80, 56.76, 288.90°)
OKLaboklab(46.14% -0.0225 -0.1547)
OKLCHoklch(46.14% 0.156 261.7)
XYZxyz(11.3142, 9.4293, 41.2599)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2252AE #AE7E22
analogous
#2298AE #2252AE #3822AE
triadic
#2252AE #AE2252 #52AE22
tetradic
#2252AE #AE2298 #AE7E22 #22AE38
square
#2252AE #AE2298 #AE7E22 #22AE38
split-complementary
#2252AE #AE3822 #98AE22
monochromatic
#0E2248 #183A7B #2252AE #366DD8 #6992E2

Accessibility & contrast

On white

7.28
#2252AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2252AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2252AE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2252AE#FFFFFF#000000##FFFFFF
##2252AE1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2252ae;
/* rgb */ color: rgb(34, 82, 174);
/* oklch */ color: oklch(46.1% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#7482c7',
    500: '#2252ae',
    950: '#000000',
  },
}
SCSS
$custom: #2252ae;
$custom-light: #7482c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2252ae",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 219.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.15637,
    "h": 261.7
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#2252AE
secondary
#C7A564
accent
#AF3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2252AE

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

Preview Lab → · Contrast checker → · Palette generator →

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