#2255AC#2255AC

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

Color values

HEX#2255AC
RGBrgb(34, 85, 172)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 80%, 67%)
CMYKcmyk(80.2%, 50.6%, 0%, 32.5%)
CIE-LABlab(37.51, 15.60, -51.36)
CIE-LCHlch(37.51, 53.68, 286.89°)
OKLaboklab(46.64% -0.025 -0.1478)
OKLCHoklch(46.64% 0.15 260.4)
XYZxyz(11.3519, 9.8143, 40.3178)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255AC #AC7922
analogous
#229AAC #2255AC #3422AC
triadic
#2255AC #AC2255 #55AC22
tetradic
#2255AC #AC229A #AC7922 #22AC34
square
#2255AC #AC229A #AC7922 #22AC34
split-complementary
#2255AC #AC3422 #9AAC22
monochromatic
#0E2246 #183C79 #2255AC #3470D7 #6794E1

Accessibility & contrast

On white

7.09
#2255AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2255AC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255AC#FFFFFF#000000##FFFFFF
##2255AC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2255ac;
/* rgb */ color: rgb(34, 85, 172);
/* oklch */ color: oklch(46.6% 0.150 260.4);
Tailwind
colors: {
  custom: {
    50: '#7484c5',
    500: '#2255ac',
    950: '#000000',
  },
}
SCSS
$custom: #2255ac;
$custom-light: #7484c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2255ac",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 217.826,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46638,
    "c": 0.14993,
    "h": 260.4
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2255AC

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

Preview Lab → · Contrast checker → · Palette generator →

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