#2251AD#2251AD

#2251AD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.156 H 262.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2251AD
RGBrgb(34, 81, 173)
HSLhsl(220, 67%, 41%)
HSVhsv(220, 80%, 68%)
CMYKcmyk(80.3%, 53.2%, 0%, 32.2%)
CIE-LABlab(36.44, 18.66, -53.68)
CIE-LCHlch(36.44, 56.83, 289.17°)
OKLaboklab(45.85% -0.0219 -0.1547)
OKLCHoklch(45.85% 0.156 262)
XYZxyz(11.1422, 9.2407, 40.7235)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2251AD #AD7E22
analogous
#2296AD #2251AD #3822AD
triadic
#2251AD #AD2251 #51AD22
tetradic
#2251AD #AD2296 #AD7E22 #22AD38
square
#2251AD #AD2296 #AD7E22 #22AD38
split-complementary
#2251AD #AD3822 #96AD22
monochromatic
#0E2147 #18397A #2251AD #356CD7 #6891E1

Accessibility & contrast

On white

7.37
#2251AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2251AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2251AD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2251AD#FFFFFF#000000##FFFFFF
##2251AD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2251ad;
/* rgb */ color: rgb(34, 81, 173);
/* oklch */ color: oklch(45.9% 0.156 262.0);
Tailwind
colors: {
  custom: {
    50: '#7481c6',
    500: '#2251ad',
    950: '#000000',
  },
}
SCSS
$custom: #2251ad;
$custom-light: #7481c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2251ad",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 219.712,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.15626,
    "h": 262
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#2251AD
secondary
#C7A564
accent
#B03EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2251AD

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

Preview Lab → · Contrast checker → · Palette generator →

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