#2241A2#2241A2

#2241A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.161 H 265.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2241A2
RGBrgb(34, 65, 162)
HSLhsl(225, 65%, 38%)
HSVhsv(225, 79%, 64%)
CMYKcmyk(79%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.18, 25.12, -55.65)
CIE-LCHlch(31.18, 61.06, 294.29°)
OKLaboklab(41.61% -0.0114 -0.1608)
OKLCHoklch(41.61% 0.161 265.9)
XYZxyz(9.0693, 6.7283, 34.9961)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2241A2 #A28322
analogous
#2281A2 #2241A2 #4322A2
triadic
#2241A2 #A22241 #41A222
tetradic
#2241A2 #A22281 #A28322 #22A243
square
#2241A2 #A22281 #A28322 #22A243
split-complementary
#2241A2 #A24322 #81A222
monochromatic
#0D183D #172D6F #2241A2 #2E56D3 #617FDE

Accessibility & contrast

On white

8.95
#2241A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2241A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2241A2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2241A2#FFFFFF#000000##FFFFFF
##2241A21.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2241a2;
/* rgb */ color: rgb(34, 65, 162);
/* oklch */ color: oklch(41.6% 0.161 265.9);
Tailwind
colors: {
  custom: {
    50: '#7275be',
    500: '#2241a2',
    950: '#000000',
  },
}
SCSS
$custom: #2241a2;
$custom-light: #7275be;
$custom-dark: #000000;
JSON
{
  "hex": "#2241a2",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 225.469,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41611,
    "c": 0.16121,
    "h": 265.9
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#2241A2
secondary
#C3AA5D
accent
#BF40E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2241A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2241A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva