#2A41B5#2A41B5

#2A41B5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.185 H 268.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2A41B5
RGBrgb(42, 65, 181)
HSLhsl(230, 62%, 44%)
HSVhsv(230, 77%, 71%)
CMYKcmyk(76.8%, 64.1%, 0%, 29%)
CIE-LABlab(33.15, 33.14, -63.77)
CIE-LCHlch(33.15, 71.87, 297.46°)
OKLaboklab(43.67% -0.0046 -0.1844)
OKLCHoklch(43.67% 0.185 268.6)
XYZxyz(11.1827, 7.6078, 44.5862)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41B5 #B59E2A
analogous
#2A86B5 #2A41B5 #582AB5
triadic
#2A41B5 #B52A41 #41B52A
tetradic
#2A41B5 #B52A86 #B59E2A #2AB558
square
#2A41B5 #B52A86 #B59E2A #2AB558
split-complementary
#2A41B5 #B5582A #86B52A
monochromatic
#131D52 #1E2F83 #2A41B5 #485FD4 #798AE0

Accessibility & contrast

On white

8.33
#2A41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41B5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41B5#FFFFFF#000000##FFFFFF
##2A41B51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a41b5;
/* rgb */ color: rgb(42, 65, 181);
/* oklch */ color: oklch(43.7% 0.185 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a75cc',
    500: '#2a41b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a41b5;
$custom-light: #7a75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41b5",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 230.072,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.18451,
    "h": 268.6
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#2A41B5
secondary
#C8BA73
accent
#CA42E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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