#2A41BC#2A41BC

#2A41BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.194 H 268.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2A41BC
RGBrgb(42, 65, 188)
HSLhsl(231, 63%, 45%)
HSVhsv(231, 78%, 74%)
CMYKcmyk(77.7%, 65.4%, 0%, 26.3%)
CIE-LABlab(33.78, 35.70, -66.88)
CIE-LCHlch(33.78, 75.81, 298.10°)
OKLaboklab(44.32% -0.005 -0.1935)
OKLCHoklch(44.32% 0.194 268.5)
XYZxyz(11.9191, 7.9023, 48.4643)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41BC #BCA52A
analogous
#2A8ABC #2A41BC #5C2ABC
triadic
#2A41BC #BC2A41 #41BC2A
tetradic
#2A41BC #BC2A8A #BCA52A #2ABC5C
square
#2A41BC #BC2A8A #BCA52A #2ABC5C
split-complementary
#2A41BC #BC5C2A #8ABC2A
monochromatic
#141E58 #1F308A #2A41BC #4C62D7 #7E8EE2

Accessibility & contrast

On white

8.14
#2A41BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A41BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41BC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41BC#FFFFFF#000000##FFFFFF
##2A41BC1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a41bc;
/* rgb */ color: rgb(42, 65, 188);
/* oklch */ color: oklch(44.3% 0.194 268.5);
Tailwind
colors: {
  custom: {
    50: '#7b75d1',
    500: '#2a41bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a41bc;
$custom-light: #7b75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41bc",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 230.548,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.1936,
    "h": 268.5
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#2A41BC
secondary
#CBBE77
accent
#CC41E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2A41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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