#2252B4#2252B4

#2252B4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.165 H 262.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2252B4
RGBrgb(34, 82, 180)
HSLhsl(220, 68%, 42%)
HSVhsv(220, 81%, 71%)
CMYKcmyk(81.1%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.24, 20.73, -56.53)
CIE-LCHlch(37.24, 60.21, 290.14°)
OKLaboklab(46.62% -0.0219 -0.1631)
OKLCHoklch(46.62% 0.165 262.4)
XYZxyz(11.9122, 9.6685, 44.4096)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2252B4 #B48422
analogous
#229BB4 #2252B4 #3B22B4
triadic
#2252B4 #B42252 #52B422
tetradic
#2252B4 #B4229B #B48422 #22B43B
square
#2252B4 #B4229B #B48422 #22B43B
split-complementary
#2252B4 #B43B22 #9BB422
monochromatic
#0F234D #183B81 #2252B4 #3A6EDA #6D94E3

Accessibility & contrast

On white

7.16
#2252B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2252B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2252B4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2252B4#FFFFFF#000000##FFFFFF
##2252B41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2252b4;
/* rgb */ color: rgb(34, 82, 180);
/* oklch */ color: oklch(46.6% 0.165 262.4);
Tailwind
colors: {
  custom: {
    50: '#7682cb',
    500: '#2252b4',
    950: '#000000',
  },
}
SCSS
$custom: #2252b4;
$custom-light: #7682cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2252b4",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 220.274,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.16454,
    "h": 262.4
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#2252B4
secondary
#CAAA68
accent
#B23DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2252B4

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

Preview Lab → · Contrast checker → · Palette generator →

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