#2255A0#2255A0

#2255A0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.133 H 258.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2255A0
RGBrgb(34, 85, 160)
HSLhsl(216, 65%, 38%)
HSVhsv(216, 79%, 63%)
CMYKcmyk(78.8%, 46.9%, 0%, 37.3%)
CIE-LABlab(36.69, 10.87, -45.52)
CIE-LCHlch(36.69, 46.80, 283.43°)
OKLaboklab(45.75% -0.0269 -0.1306)
OKLCHoklch(45.75% 0.133 258.4)
XYZxyz(10.2510, 9.3739, 34.5200)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255A0 #A06D22
analogous
#2294A0 #2255A0 #2E22A0
triadic
#2255A0 #A02255 #55A022
tetradic
#2255A0 #A02294 #A06D22 #22A02E
square
#2255A0 #A02294 #A06D22 #22A02E
split-complementary
#2255A0 #A02E22 #94A022
monochromatic
#0D1F3B #173A6E #2255A0 #2D70D2 #5F92DD

Accessibility & contrast

On white

7.30
#2255A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2255A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2255A0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255A0#FFFFFF#000000##FFFFFF
##2255A01.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA3
Deuteranopia (green-blind)
#0D519F
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2255a0;
/* rgb */ color: rgb(34, 85, 160);
/* oklch */ color: oklch(45.8% 0.133 258.4);
Tailwind
colors: {
  custom: {
    50: '#7184bd',
    500: '#2255a0',
    950: '#000000',
  },
}
SCSS
$custom: #2255a0;
$custom-light: #7184bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2255a0",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 160
  },
  "hsl": {
    "h": 215.714,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.13338,
    "h": 258.4
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#2255A0
secondary
#C2995C
accent
#A440E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2255A0

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

Preview Lab → · Contrast checker → · Palette generator →

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