#2255BB#2255BB

#2255BB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.170 H 262.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2255BB
RGBrgb(34, 85, 187)
HSLhsl(220, 69%, 43%)
HSVhsv(220, 82%, 73%)
CMYKcmyk(81.8%, 54.5%, 0%, 26.7%)
CIE-LABlab(38.59, 21.47, -58.45)
CIE-LCHlch(38.59, 62.27, 290.17°)
OKLaboklab(47.81% -0.0233 -0.1687)
OKLCHoklch(47.81% 0.17 262.1)
XYZxyz(12.8746, 10.4234, 48.3374)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255BB #BB8822
analogous
#22A1BB #2255BB #3B22BB
triadic
#2255BB #BB2255 #55BB22
tetradic
#2255BB #BB22A1 #BB8822 #22BB3B
square
#2255BB #BB22A1 #BB8822 #22BB3B
split-complementary
#2255BB #BB3B22 #A1BB22
monochromatic
#0F2653 #193D87 #2255BB #3E73DC #7298E5

Accessibility & contrast

On white

6.81
#2255BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2255BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2255BB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255BB#FFFFFF#000000##FFFFFF
##2255BB1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2255bb;
/* rgb */ color: rgb(34, 85, 187);
/* oklch */ color: oklch(47.8% 0.170 262.1);
Tailwind
colors: {
  custom: {
    50: '#7784d0',
    500: '#2255bb',
    950: '#000000',
  },
}
SCSS
$custom: #2255bb;
$custom-light: #7784d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2255bb",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.17027,
    "h": 262.1
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#2255BB
secondary
#CCAC6D
accent
#B13CEC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2255BB

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

Preview Lab → · Contrast checker → · Palette generator →

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