#2241BC#2241BC

#2241BC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.196 H 266.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2241BC
RGBrgb(34, 65, 188)
HSLhsl(228, 69%, 44%)
HSVhsv(228, 82%, 74%)
CMYKcmyk(81.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(33.46, 35.01, -67.42)
CIE-LCHlch(33.46, 75.97, 297.44°)
OKLaboklab(44% -0.0116 -0.1953)
OKLCHoklch(44% 0.196 266.6)
XYZxyz(11.6239, 7.7501, 48.4505)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2241BC #BC9D22
analogous
#228EBC #2241BC #5022BC
triadic
#2241BC #BC2241 #41BC22
tetradic
#2241BC #BC228E #BC9D22 #22BC50
square
#2241BC #BC228E #BC9D22 #22BC50
split-complementary
#2241BC #BC5022 #8EBC22
monochromatic
#0F1D54 #192F88 #2241BC #3F5FDC #738AE6

Accessibility & contrast

On white

8.23
#2241BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2241BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2241BC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2241BC#FFFFFF#000000##FFFFFF
##2241BC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2241bc;
/* rgb */ color: rgb(34, 65, 188);
/* oklch */ color: oklch(44.0% 0.196 266.6);
Tailwind
colors: {
  custom: {
    50: '#7975d1',
    500: '#2241bc',
    950: '#000000',
  },
}
SCSS
$custom: #2241bc;
$custom-light: #7975d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2241bc",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 227.922,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.1956,
    "h": 266.6
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#2241BC
secondary
#CDB96D
accent
#C93CEC
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2241BC

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

Preview Lab → · Contrast checker → · Palette generator →

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