#2241C4#2241C4

#2241C4 is a dark, highly saturated blue. Relative luminance 0.081; OKLCH L 44.8% C 0.206 H 266.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2241C4
RGBrgb(34, 65, 196)
HSLhsl(229, 70%, 45%)
HSVhsv(229, 83%, 77%)
CMYKcmyk(82.7%, 66.8%, 0%, 23.1%)
CIE-LABlab(34.20, 37.96, -70.89)
CIE-LCHlch(34.20, 80.42, 298.17°)
OKLaboklab(44.77% -0.0119 -0.2054)
OKLCHoklch(44.77% 0.206 266.7)
XYZxyz(12.5103, 8.1047, 53.1189)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2241C4 #C4A522
analogous
#2292C4 #2241C4 #5422C4
triadic
#2241C4 #C42241 #41C422
tetradic
#2241C4 #C42292 #C4A522 #22C454
square
#2241C4 #C42292 #C4A522 #22C454
split-complementary
#2241C4 #C45422 #92C422
monochromatic
#101E5C #193090 #2241C4 #4562DF #798EE8

Accessibility & contrast

On white

8.01
#2241C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2241C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2241C4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2241C4#FFFFFF#000000##FFFFFF
##2241C41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2241c4;
/* rgb */ color: rgb(34, 65, 196);
/* oklch */ color: oklch(44.8% 0.206 266.7);
Tailwind
colors: {
  custom: {
    50: '#7b75d7',
    500: '#2241c4',
    950: '#000000',
  },
}
SCSS
$custom: #2241c4;
$custom-light: #7b75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2241c4",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 228.519,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.20576,
    "h": 266.7
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#2241C4
secondary
#CFBE73
accent
#CB3BED
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0815
muted
#7C7B83

Preview Lab

Preview with #2241C4

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

Preview Lab → · Contrast checker → · Palette generator →

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