#2256A9#2256A9

#2256A9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.145 H 259.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2256A9
RGBrgb(34, 86, 169)
HSLhsl(217, 67%, 40%)
HSVhsv(217, 80%, 66%)
CMYKcmyk(79.9%, 49.1%, 0%, 33.7%)
CIE-LABlab(37.59, 13.75, -49.45)
CIE-LCHlch(37.59, 51.33, 285.54°)
OKLaboklab(46.63% -0.0262 -0.1422)
OKLCHoklch(46.63% 0.145 259.6)
XYZxyz(11.1463, 9.8589, 38.8439)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2256A9 #A97522
analogous
#2299A9 #2256A9 #3222A9
triadic
#2256A9 #A92256 #56A922
tetradic
#2256A9 #A92299 #A97522 #22A932
square
#2256A9 #A92299 #A97522 #22A932
split-complementary
#2256A9 #A93222 #99A922
monochromatic
#0D2243 #183C76 #2256A9 #3271D6 #6595E0

Accessibility & contrast

On white

7.07
#2256A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2256A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2256A9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2256A9#FFFFFF#000000##FFFFFF
##2256A91.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)
#265FAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2256a9;
/* rgb */ color: rgb(34, 86, 169);
/* oklch */ color: oklch(46.6% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#7385c3',
    500: '#2256a9',
    950: '#000000',
  },
}
SCSS
$custom: #2256a9;
$custom-light: #7385c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2256a9",
  "rgb": {
    "r": 34,
    "g": 86,
    "b": 169
  },
  "hsl": {
    "h": 216.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46634,
    "c": 0.14458,
    "h": 259.6
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#2256A9
secondary
#C59F61
accent
#A83EE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2256A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2256A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva