#2A41B7#2A41B7

#2A41B7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.187 H 268.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2A41B7
RGBrgb(42, 65, 183)
HSLhsl(230, 63%, 44%)
HSVhsv(230, 77%, 72%)
CMYKcmyk(77%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.33, 33.88, -64.66)
CIE-LCHlch(33.33, 73.00, 297.65°)
OKLaboklab(43.86% -0.0047 -0.1871)
OKLCHoklch(43.86% 0.187 268.6)
XYZxyz(11.3894, 7.6905, 45.6747)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41B7 #B7A02A
analogous
#2A88B7 #2A41B7 #5A2AB7
triadic
#2A41B7 #B72A41 #41B72A
tetradic
#2A41B7 #B72A88 #B7A02A #2AB75A
square
#2A41B7 #B72A88 #B7A02A #2AB75A
split-complementary
#2A41B7 #B75A2A #88B72A
monochromatic
#131E53 #1F2F85 #2A41B7 #4960D5 #7B8BE1

Accessibility & contrast

On white

8.27
#2A41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41B7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41B7#FFFFFF#000000##FFFFFF
##2A41B71.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a41b7;
/* rgb */ color: rgb(42, 65, 183);
/* oklch */ color: oklch(43.9% 0.187 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a75ce',
    500: '#2a41b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a41b7;
$custom-light: #7a75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41b7",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 230.213,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.18713,
    "h": 268.6
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#2A41B7
secondary
#C9BB74
accent
#CB42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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