#2251B1#2251B1

#2251B1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.162 H 262.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2251B1
RGBrgb(34, 81, 177)
HSLhsl(220, 68%, 41%)
HSVhsv(220, 81%, 69%)
CMYKcmyk(80.8%, 54.2%, 0%, 30.6%)
CIE-LABlab(36.74, 20.23, -55.57)
CIE-LCHlch(36.74, 59.13, 290.00°)
OKLaboklab(46.17% -0.0214 -0.1603)
OKLCHoklch(46.17% 0.162 262.4)
XYZxyz(11.5351, 9.3979, 42.7925)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2251B1 #B18222
analogous
#2299B1 #2251B1 #3B22B1
triadic
#2251B1 #B12251 #51B122
tetradic
#2251B1 #B12299 #B18222 #22B13B
square
#2251B1 #B12299 #B18222 #22B13B
split-complementary
#2251B1 #B13B22 #99B122
monochromatic
#0E224A #183A7E #2251B1 #386CD9 #6B92E3

Accessibility & contrast

On white

7.29
#2251B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2251B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2251B1
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2251B1#FFFFFF#000000##FFFFFF
##2251B11.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2251b1;
/* rgb */ color: rgb(34, 81, 177);
/* oklch */ color: oklch(46.2% 0.162 262.4);
Tailwind
colors: {
  custom: {
    50: '#7581c9',
    500: '#2251b1',
    950: '#000000',
  },
}
SCSS
$custom: #2251b1;
$custom-light: #7581c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2251b1",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 220.28,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.16171,
    "h": 262.4
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#2251B1
secondary
#C9A866
accent
#B23DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2251B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2251B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva