#2252B5#2252B5

#2252B5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.166 H 262.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2252B5
RGBrgb(34, 82, 181)
HSLhsl(220, 68%, 42%)
HSVhsv(220, 81%, 71%)
CMYKcmyk(81.2%, 54.7%, 0%, 29%)
CIE-LABlab(37.32, 21.12, -56.99)
CIE-LCHlch(37.32, 60.78, 290.34°)
OKLaboklab(46.7% -0.0218 -0.1645)
OKLCHoklch(46.7% 0.166 262.5)
XYZxyz(12.0145, 9.7094, 44.9480)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2252B5 #B58522
analogous
#229CB5 #2252B5 #3B22B5
triadic
#2252B5 #B52252 #52B522
tetradic
#2252B5 #B5229C #B58522 #22B53B
square
#2252B5 #B5229C #B58522 #22B53B
split-complementary
#2252B5 #B53B22 #9CB522
monochromatic
#0F234E #183B81 #2252B5 #3A6EDA #6E94E4

Accessibility & contrast

On white

7.14
#2252B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2252B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2252B5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2252B5#FFFFFF#000000##FFFFFF
##2252B51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2252b5;
/* rgb */ color: rgb(34, 82, 181);
/* oklch */ color: oklch(46.7% 0.166 262.5);
Tailwind
colors: {
  custom: {
    50: '#7682cc',
    500: '#2252b5',
    950: '#000000',
  },
}
SCSS
$custom: #2252b5;
$custom-light: #7682cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2252b5",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 220.408,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.467,
    "c": 0.16589,
    "h": 262.5
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2252B5

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

Preview Lab → · Contrast checker → · Palette generator →

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