#2241A3#2241A3

#2241A3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.163 H 266.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2241A3
RGBrgb(34, 65, 163)
HSLhsl(226, 65%, 39%)
HSVhsv(226, 79%, 64%)
CMYKcmyk(79.1%, 60.1%, 0%, 36.1%)
CIE-LABlab(31.26, 25.50, -56.12)
CIE-LCHlch(31.26, 61.64, 294.44°)
OKLaboklab(41.7% -0.0114 -0.1622)
OKLCHoklch(41.7% 0.163 266)
XYZxyz(9.1585, 6.7640, 35.4661)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2241A3 #A38422
analogous
#2281A3 #2241A3 #4322A3
triadic
#2241A3 #A32241 #41A322
tetradic
#2241A3 #A32281 #A38422 #22A343
square
#2241A3 #A32281 #A38422 #22A343
split-complementary
#2241A3 #A34322 #81A322
monochromatic
#0D193E #172D70 #2241A3 #2F56D4 #617FDE

Accessibility & contrast

On white

8.92
#2241A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2241A3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2241A3#FFFFFF#000000##FFFFFF
##2241A31.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2241a3;
/* rgb */ color: rgb(34, 65, 163);
/* oklch */ color: oklch(41.7% 0.163 266.0);
Tailwind
colors: {
  custom: {
    50: '#7375bf',
    500: '#2241a3',
    950: '#000000',
  },
}
SCSS
$custom: #2241a3;
$custom-light: #7375bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2241a3",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 225.581,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.16258,
    "h": 266
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#2241A3
secondary
#C3AB5E
accent
#C03FE8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2241A3

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

Preview Lab → · Contrast checker → · Palette generator →

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