#2251A9#2251A9

#2251A9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.151 H 261.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2251A9
RGBrgb(34, 81, 169)
HSLhsl(219, 67%, 40%)
HSVhsv(219, 80%, 66%)
CMYKcmyk(79.9%, 52.1%, 0%, 33.7%)
CIE-LABlab(36.15, 17.08, -51.77)
CIE-LCHlch(36.15, 54.52, 288.26°)
OKLaboklab(45.54% -0.0223 -0.1491)
OKLCHoklch(45.54% 0.151 261.5)
XYZxyz(10.7610, 9.0882, 38.7155)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2251A9 #A97A22
analogous
#2295A9 #2251A9 #3722A9
triadic
#2251A9 #A92251 #51A922
tetradic
#2251A9 #A92295 #A97A22 #22A937
square
#2251A9 #A92295 #A97A22 #22A937
split-complementary
#2251A9 #A93722 #95A922
monochromatic
#0D2043 #183976 #2251A9 #326BD6 #6590E0

Accessibility & contrast

On white

7.45
#2251A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2251A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2251A9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2251A9#FFFFFF#000000##FFFFFF
##2251A91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2251a9;
/* rgb */ color: rgb(34, 81, 169);
/* oklch */ color: oklch(45.5% 0.151 261.5);
Tailwind
colors: {
  custom: {
    50: '#7381c3',
    500: '#2251a9',
    950: '#000000',
  },
}
SCSS
$custom: #2251a9;
$custom-light: #7381c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2251a9",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 219.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.15076,
    "h": 261.5
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#2251A9
secondary
#C5A361
accent
#AE3EE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2251A9

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

Preview Lab → · Contrast checker → · Palette generator →

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