#2A41A3#2A41A3

#2A41A3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.160 H 268.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2A41A3
RGBrgb(42, 65, 163)
HSLhsl(229, 59%, 40%)
HSVhsv(229, 74%, 64%)
CMYKcmyk(74.2%, 60.1%, 0%, 36.1%)
CIE-LABlab(31.62, 26.42, -55.53)
CIE-LCHlch(31.62, 61.50, 295.45°)
OKLaboklab(42.06% -0.0044 -0.1603)
OKLCHoklch(42.06% 0.16 268.4)
XYZxyz(9.4537, 6.9162, 35.4800)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41A3 #A38C2A
analogous
#2A7DA3 #2A41A3 #4F2AA3
triadic
#2A41A3 #A32A41 #41A32A
tetradic
#2A41A3 #A32A7D #A38C2A #2AA34F
square
#2A41A3 #A32A7D #A38C2A #2AA34F
split-complementary
#2A41A3 #A34F2A #7DA32A
monochromatic
#111A42 #1D2E72 #2A41A3 #3D59CD #6E82DA

Accessibility & contrast

On white

8.81
#2A41A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A41A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41A3
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41A3#FFFFFF#000000##FFFFFF
##2A41A31.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a41a3;
/* rgb */ color: rgb(42, 65, 163);
/* oklch */ color: oklch(42.1% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#7575bf',
    500: '#2a41a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a41a3;
$custom-light: #7575bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41a3",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 228.595,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.16035,
    "h": 268.4
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#2A41A3
secondary
#C0B068
accent
#C446E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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