#2255AD#2255AD

#2255AD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.151 H 260.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2255AD
RGBrgb(34, 85, 173)
HSLhsl(218, 67%, 41%)
HSVhsv(218, 80%, 68%)
CMYKcmyk(80.3%, 50.9%, 0%, 32.2%)
CIE-LABlab(37.58, 15.99, -51.84)
CIE-LCHlch(37.58, 54.26, 287.14°)
OKLaboklab(46.71% -0.0248 -0.1492)
OKLCHoklch(46.71% 0.151 260.6)
XYZxyz(11.4483, 9.8528, 40.8255)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255AD #AD7A22
analogous
#229AAD #2255AD #3522AD
triadic
#2255AD #AD2255 #55AD22
tetradic
#2255AD #AD229A #AD7A22 #22AD35
square
#2255AD #AD229A #AD7A22 #22AD35
split-complementary
#2255AD #AD3522 #9AAD22
monochromatic
#0E2347 #183C7A #2255AD #3570D7 #6895E1

Accessibility & contrast

On white

7.07
#2255AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2255AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2255AD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255AD#FFFFFF#000000##FFFFFF
##2255AD1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2255ad;
/* rgb */ color: rgb(34, 85, 173);
/* oklch */ color: oklch(46.7% 0.151 260.6);
Tailwind
colors: {
  custom: {
    50: '#7484c6',
    500: '#2255ad',
    950: '#000000',
  },
}
SCSS
$custom: #2255ad;
$custom-light: #7484c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2255ad",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 217.986,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.15129,
    "h": 260.6
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#2255AD
secondary
#C7A364
accent
#AB3EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2255AD

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

Preview Lab → · Contrast checker → · Palette generator →

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