#2254A9#2254A9

#2254A9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.147 H 260.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2254A9
RGBrgb(34, 84, 169)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 80%, 66%)
CMYKcmyk(79.9%, 50.3%, 0%, 33.7%)
CIE-LABlab(37.01, 15.08, -50.38)
CIE-LCHlch(37.01, 52.59, 286.67°)
OKLaboklab(46.19% -0.0246 -0.145)
OKLCHoklch(46.19% 0.147 260.4)
XYZxyz(10.9888, 9.5440, 38.7914)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2254A9 #A97722
analogous
#2297A9 #2254A9 #3422A9
triadic
#2254A9 #A92254 #54A922
tetradic
#2254A9 #A92297 #A97722 #22A934
square
#2254A9 #A92297 #A97722 #22A934
split-complementary
#2254A9 #A93422 #97A922
monochromatic
#0D2143 #183B76 #2254A9 #326FD6 #6593E0

Accessibility & contrast

On white

7.22
#2254A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2254A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2254A9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2254A9#FFFFFF#000000##FFFFFF
##2254A91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2254a9;
/* rgb */ color: rgb(34, 84, 169);
/* oklch */ color: oklch(46.2% 0.147 260.4);
Tailwind
colors: {
  custom: {
    50: '#7383c3',
    500: '#2254a9',
    950: '#000000',
  },
}
SCSS
$custom: #2254a9;
$custom-light: #7383c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2254a9",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 217.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.14704,
    "h": 260.4
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#2254A9
secondary
#C5A061
accent
#AA3EE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2254A9

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

Preview Lab → · Contrast checker → · Palette generator →

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