#2241AE#2241AE

#2241AE is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.177 H 266.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2241AE
RGBrgb(34, 65, 174)
HSLhsl(227, 67%, 41%)
HSVhsv(227, 80%, 68%)
CMYKcmyk(80.5%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.20, 29.74, -61.18)
CIE-LCHlch(32.20, 68.02, 295.92°)
OKLaboklab(42.69% -0.0113 -0.177)
OKLCHoklch(42.69% 0.177 266.4)
XYZxyz(10.1873, 7.1755, 40.8843)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2241AE #AE8F22
analogous
#2287AE #2241AE #4922AE
triadic
#2241AE #AE2241 #41AE22
tetradic
#2241AE #AE2287 #AE8F22 #22AE49
square
#2241AE #AE2287 #AE8F22 #22AE49
split-complementary
#2241AE #AE4922 #87AE22
monochromatic
#0E1B48 #182E7B #2241AE #3659D8 #6984E2

Accessibility & contrast

On white

8.62
#2241AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2241AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2241AE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2241AE#FFFFFF#000000##FFFFFF
##2241AE1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2241ae;
/* rgb */ color: rgb(34, 65, 174);
/* oklch */ color: oklch(42.7% 0.177 266.4);
Tailwind
colors: {
  custom: {
    50: '#7575c7',
    500: '#2241ae',
    950: '#000000',
  },
}
SCSS
$custom: #2241ae;
$custom-light: #7575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2241ae",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 226.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.17737,
    "h": 266.4
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#2241AE
secondary
#C7B164
accent
#C43EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2241AE

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

Preview Lab → · Contrast checker → · Palette generator →

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