#2254AD#2254AD

#2254AD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.153 H 260.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2254AD
RGBrgb(34, 84, 173)
HSLhsl(218, 67%, 41%)
HSVhsv(218, 80%, 68%)
CMYKcmyk(80.3%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.29, 16.66, -52.30)
CIE-LCHlch(37.29, 54.89, 287.67°)
OKLaboklab(46.5% -0.0241 -0.1506)
OKLCHoklch(46.5% 0.153 260.9)
XYZxyz(11.3701, 9.6965, 40.7994)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2254AD #AD7B22
analogous
#2299AD #2254AD #3522AD
triadic
#2254AD #AD2254 #54AD22
tetradic
#2254AD #AD2299 #AD7B22 #22AD35
square
#2254AD #AD2299 #AD7B22 #22AD35
split-complementary
#2254AD #AD3522 #99AD22
monochromatic
#0E2247 #183B7A #2254AD #356FD7 #6894E1

Accessibility & contrast

On white

7.14
#2254AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2254AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2254AD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2254AD#FFFFFF#000000##FFFFFF
##2254AD1.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)
#1A5EB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2254ad;
/* rgb */ color: rgb(34, 84, 173);
/* oklch */ color: oklch(46.5% 0.153 260.9);
Tailwind
colors: {
  custom: {
    50: '#7483c6',
    500: '#2254ad',
    950: '#000000',
  },
}
SCSS
$custom: #2254ad;
$custom-light: #7483c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2254ad",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 218.417,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.15253,
    "h": 260.9
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#2254AD
secondary
#C7A364
accent
#AC3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2254AD

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

Preview Lab → · Contrast checker → · Palette generator →

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