#2255AB#2255AB

#2255AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.149 H 260.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2255AB
RGBrgb(34, 85, 171)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 80%, 67%)
CMYKcmyk(80.1%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.44, 15.21, -50.88)
CIE-LCHlch(37.44, 53.11, 286.64°)
OKLaboklab(46.56% -0.0251 -0.1464)
OKLCHoklch(46.56% 0.149 260.3)
XYZxyz(11.2562, 9.7760, 39.8139)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255AB #AB7822
analogous
#229AAB #2255AB #3322AB
triadic
#2255AB #AB2255 #55AB22
tetradic
#2255AB #AB229A #AB7822 #22AB33
square
#2255AB #AB229A #AB7822 #22AB33
split-complementary
#2255AB #AB3322 #9AAB22
monochromatic
#0E2245 #183C78 #2255AB #3470D7 #6794E1

Accessibility & contrast

On white

7.11
#2255AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2255AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2255AB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255AB#FFFFFF#000000##FFFFFF
##2255AB1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2255ab;
/* rgb */ color: rgb(34, 85, 171);
/* oklch */ color: oklch(46.6% 0.149 260.3);
Tailwind
colors: {
  custom: {
    50: '#7384c5',
    500: '#2255ab',
    950: '#000000',
  },
}
SCSS
$custom: #2255ab;
$custom-light: #7384c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2255ab",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 217.664,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.14856,
    "h": 260.3
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#2255AB
secondary
#C6A163
accent
#AA3EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2255AB

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

Preview Lab → · Contrast checker → · Palette generator →

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