#2A41B6#2A41B6

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

Color values

HEX#2A41B6
RGBrgb(42, 65, 182)
HSLhsl(230, 63%, 44%)
HSVhsv(230, 77%, 71%)
CMYKcmyk(76.9%, 64.3%, 0%, 28.6%)
CIE-LABlab(33.24, 33.51, -64.22)
CIE-LCHlch(33.24, 72.44, 297.55°)
OKLaboklab(43.77% -0.0047 -0.1858)
OKLCHoklch(43.77% 0.186 268.6)
XYZxyz(11.2857, 7.6490, 45.1285)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41B6 #B69F2A
analogous
#2A87B6 #2A41B6 #592AB6
triadic
#2A41B6 #B62A41 #41B62A
tetradic
#2A41B6 #B62A87 #B69F2A #2AB659
square
#2A41B6 #B62A87 #B69F2A #2AB659
split-complementary
#2A41B6 #B6592A #87B62A
monochromatic
#131D53 #1F2F84 #2A41B6 #485FD5 #7A8BE0

Accessibility & contrast

On white

8.30
#2A41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41B6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41B6#FFFFFF#000000##FFFFFF
##2A41B61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a41b6;
/* rgb */ color: rgb(42, 65, 182);
/* oklch */ color: oklch(43.8% 0.186 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a75cd',
    500: '#2a41b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a41b6;
$custom-light: #7a75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41b6",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 230.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.18582,
    "h": 268.6
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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