#2254AE#2254AE

#2254AE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.154 H 261.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2254AE
RGBrgb(34, 84, 174)
HSLhsl(219, 67%, 41%)
HSVhsv(219, 80%, 68%)
CMYKcmyk(80.5%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.36, 17.05, -52.78)
CIE-LCHlch(37.36, 55.47, 287.90°)
OKLaboklab(46.57% -0.024 -0.152)
OKLCHoklch(46.57% 0.154 261)
XYZxyz(11.4672, 9.7354, 41.3109)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2254AE #AE7C22
analogous
#229AAE #2254AE #3622AE
triadic
#2254AE #AE2254 #54AE22
tetradic
#2254AE #AE229A #AE7C22 #22AE36
square
#2254AE #AE229A #AE7C22 #22AE36
split-complementary
#2254AE #AE3622 #9AAE22
monochromatic
#0E2348 #183B7B #2254AE #366FD8 #6994E2

Accessibility & contrast

On white

7.12
#2254AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2254AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2254AE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2254AE#FFFFFF#000000##FFFFFF
##2254AE1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2254ae;
/* rgb */ color: rgb(34, 84, 174);
/* oklch */ color: oklch(46.6% 0.154 261.0);
Tailwind
colors: {
  custom: {
    50: '#7483c7',
    500: '#2254ae',
    950: '#000000',
  },
}
SCSS
$custom: #2254ae;
$custom-light: #7483c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2254ae",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 218.571,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.1539,
    "h": 261
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#2254AE
secondary
#C7A464
accent
#AD3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2254AE

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

Preview Lab → · Contrast checker → · Palette generator →

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