#2A41A8#2A41A8

#2A41A8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.167 H 268.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2A41A8
RGBrgb(42, 65, 168)
HSLhsl(229, 60%, 41%)
HSVhsv(229, 75%, 66%)
CMYKcmyk(75%, 61.3%, 0%, 34.1%)
CIE-LABlab(32.03, 28.31, -57.86)
CIE-LCHlch(32.03, 64.41, 296.07°)
OKLaboklab(42.5% -0.0044 -0.1671)
OKLCHoklch(42.5% 0.167 268.5)
XYZxyz(9.9106, 7.0989, 37.8861)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41A8 #A8912A
analogous
#2A80A8 #2A41A8 #522AA8
triadic
#2A41A8 #A82A41 #41A82A
tetradic
#2A41A8 #A82A80 #A8912A #2AA852
square
#2A41A8 #A82A80 #A8912A #2AA852
split-complementary
#2A41A8 #A8522A #80A82A
monochromatic
#121B46 #1E2E77 #2A41A8 #405ACF #7184DB

Accessibility & contrast

On white

8.68
#2A41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A41A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41A8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41A8#FFFFFF#000000##FFFFFF
##2A41A81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a41a8;
/* rgb */ color: rgb(42, 65, 168);
/* oklch */ color: oklch(42.5% 0.167 268.5);
Tailwind
colors: {
  custom: {
    50: '#7675c3',
    500: '#2a41a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a41a8;
$custom-light: #7675c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41a8",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 229.048,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.16718,
    "h": 268.5
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#2A41A8
secondary
#C3B36B
accent
#C645E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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