#2A41AE#2A41AE

#2A41AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.175 H 268.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2A41AE
RGBrgb(42, 65, 174)
HSLhsl(230, 61%, 42%)
HSVhsv(230, 76%, 68%)
CMYKcmyk(75.9%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.54, 30.55, -60.61)
CIE-LCHlch(32.54, 67.87, 296.75°)
OKLaboklab(43.03% -0.0044 -0.1752)
OKLCHoklch(43.03% 0.175 268.5)
XYZxyz(10.4825, 7.3277, 40.8981)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41AE #AE972A
analogous
#2A83AE #2A41AE #552AAE
triadic
#2A41AE #AE2A41 #41AE2A
tetradic
#2A41AE #AE2A83 #AE972A #2AAE55
square
#2A41AE #AE2A83 #AE972A #2AAE55
split-complementary
#2A41AE #AE552A #83AE2A
monochromatic
#121C4B #1E2F7D #2A41AE #435CD2 #7587DE

Accessibility & contrast

On white

8.52
#2A41AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A41AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41AE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41AE#FFFFFF#000000##FFFFFF
##2A41AE1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a41ae;
/* rgb */ color: rgb(42, 65, 174);
/* oklch */ color: oklch(43.0% 0.175 268.5);
Tailwind
colors: {
  custom: {
    50: '#7875c7',
    500: '#2a41ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a41ae;
$custom-light: #7875c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41ae",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 229.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.17525,
    "h": 268.5
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#2A41AE
secondary
#C5B66F
accent
#C844E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2A41AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva