#2255A3#2255A3

#2255A3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.138 H 258.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2255A3
RGBrgb(34, 85, 163)
HSLhsl(216, 65%, 39%)
HSVhsv(216, 79%, 64%)
CMYKcmyk(79.1%, 47.9%, 0%, 36.1%)
CIE-LABlab(36.89, 12.05, -47.00)
CIE-LCHlch(36.89, 48.52, 284.38°)
OKLaboklab(45.97% -0.0264 -0.135)
OKLCHoklch(45.97% 0.138 258.9)
XYZxyz(10.5166, 9.4802, 35.9188)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255A3 #A37022
analogous
#2295A3 #2255A3 #2F22A3
triadic
#2255A3 #A32255 #55A322
tetradic
#2255A3 #A32295 #A37022 #22A32F
square
#2255A3 #A32295 #A37022 #22A32F
split-complementary
#2255A3 #A32F22 #95A322
monochromatic
#0D203E #173B70 #2255A3 #2F70D4 #6193DE

Accessibility & contrast

On white

7.25
#2255A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2255A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2255A3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255A3#FFFFFF#000000##FFFFFF
##2255A31.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#0251A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2255a3;
/* rgb */ color: rgb(34, 85, 163);
/* oklch */ color: oklch(46.0% 0.138 258.9);
Tailwind
colors: {
  custom: {
    50: '#7184bf',
    500: '#2255a3',
    950: '#000000',
  },
}
SCSS
$custom: #2255a3;
$custom-light: #7184bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2255a3",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 163
  },
  "hsl": {
    "h": 216.279,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.13753,
    "h": 258.9
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#2255A3
secondary
#C39B5E
accent
#A63FE8
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2255A3

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

Preview Lab → · Contrast checker → · Palette generator →

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