#2252B0#2252B0

#2252B0 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.159 H 262.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2252B0
RGBrgb(34, 82, 176)
HSLhsl(220, 68%, 41%)
HSVhsv(220, 81%, 69%)
CMYKcmyk(80.7%, 53.4%, 0%, 31%)
CIE-LABlab(36.94, 19.17, -54.64)
CIE-LCHlch(36.94, 57.91, 289.33°)
OKLaboklab(46.3% -0.0223 -0.1575)
OKLCHoklch(46.3% 0.159 262)
XYZxyz(11.5106, 9.5079, 42.2944)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2252B0 #B08022
analogous
#2299B0 #2252B0 #3922B0
triadic
#2252B0 #B02252 #52B022
tetradic
#2252B0 #B02299 #B08022 #22B039
square
#2252B0 #B02299 #B08022 #22B039
split-complementary
#2252B0 #B03922 #99B022
monochromatic
#0E2249 #183A7D #2252B0 #376DD8 #6A93E2

Accessibility & contrast

On white

7.24
#2252B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2252B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2252B0
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2252B0#FFFFFF#000000##FFFFFF
##2252B01.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085EB3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2252b0;
/* rgb */ color: rgb(34, 82, 176);
/* oklch */ color: oklch(46.3% 0.159 262.0);
Tailwind
colors: {
  custom: {
    50: '#7582c8',
    500: '#2252b0',
    950: '#000000',
  },
}
SCSS
$custom: #2252b0;
$custom-light: #7582c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2252b0",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 219.718,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.463,
    "c": 0.15911,
    "h": 262
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#2252B0
secondary
#C8A766
accent
#B03DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2252B0

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

Preview Lab → · Contrast checker → · Palette generator →

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