#2254A0#2254A0

#2254A0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.135 H 258.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2254A0
RGBrgb(34, 84, 160)
HSLhsl(216, 65%, 38%)
HSVhsv(216, 79%, 63%)
CMYKcmyk(78.8%, 47.5%, 0%, 37.3%)
CIE-LABlab(36.40, 11.53, -46.00)
CIE-LCHlch(36.40, 47.42, 284.08°)
OKLaboklab(45.53% -0.026 -0.132)
OKLCHoklch(45.53% 0.135 258.8)
XYZxyz(10.1729, 9.2176, 34.4939)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2254A0 #A06E22
analogous
#2293A0 #2254A0 #2F22A0
triadic
#2254A0 #A02254 #54A022
tetradic
#2254A0 #A02293 #A06E22 #22A02F
square
#2254A0 #A02293 #A06E22 #22A02F
split-complementary
#2254A0 #A02F22 #93A022
monochromatic
#0D1F3B #173A6E #2254A0 #2D6FD2 #5F91DD

Accessibility & contrast

On white

7.38
#2254A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2254A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2254A0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2254A0#FFFFFF#000000##FFFFFF
##2254A01.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA3
Deuteranopia (green-blind)
#07509E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2254a0;
/* rgb */ color: rgb(34, 84, 160);
/* oklch */ color: oklch(45.5% 0.135 258.8);
Tailwind
colors: {
  custom: {
    50: '#7183bd',
    500: '#2254a0',
    950: '#000000',
  },
}
SCSS
$custom: #2254a0;
$custom-light: #7183bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2254a0",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 160
  },
  "hsl": {
    "h": 216.19,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.13459,
    "h": 258.8
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2254A0

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

Preview Lab → · Contrast checker → · Palette generator →

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