#2254BB#2254BB

#2254BB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.172 H 262.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2254BB
RGBrgb(34, 84, 187)
HSLhsl(220, 69%, 43%)
HSVhsv(220, 82%, 73%)
CMYKcmyk(81.8%, 55.1%, 0%, 26.7%)
CIE-LABlab(38.32, 22.14, -58.89)
CIE-LCHlch(38.32, 62.92, 290.60°)
OKLaboklab(47.6% -0.0226 -0.17)
OKLCHoklch(47.6% 0.172 262.4)
XYZxyz(12.7964, 10.2670, 48.3114)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2254BB #BB8922
analogous
#22A0BB #2254BB #3C22BB
triadic
#2254BB #BB2254 #54BB22
tetradic
#2254BB #BB22A0 #BB8922 #22BB3C
square
#2254BB #BB22A0 #BB8922 #22BB3C
split-complementary
#2254BB #BB3C22 #A0BB22
monochromatic
#0F2553 #193D87 #2254BB #3E72DC #7298E5

Accessibility & contrast

On white

6.88
#2254BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2254BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2254BB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2254BB#FFFFFF#000000##FFFFFF
##2254BB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2254bb;
/* rgb */ color: rgb(34, 84, 187);
/* oklch */ color: oklch(47.6% 0.172 262.4);
Tailwind
colors: {
  custom: {
    50: '#7783d0',
    500: '#2254bb',
    950: '#000000',
  },
}
SCSS
$custom: #2254bb;
$custom-light: #7783d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2254bb",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 220.392,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.1715,
    "h": 262.4
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#2254BB
secondary
#CCAD6D
accent
#B23CEC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2254BB

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

Preview Lab → · Contrast checker → · Palette generator →

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