#2A41B1#2A41B1

#2A41B1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.179 H 268.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2A41B1
RGBrgb(42, 65, 177)
HSLhsl(230, 62%, 43%)
HSVhsv(230, 76%, 69%)
CMYKcmyk(76.3%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.80, 31.66, -61.97)
CIE-LCHlch(32.80, 69.59, 297.06°)
OKLaboklab(43.31% -0.0045 -0.1792)
OKLCHoklch(43.31% 0.179 268.6)
XYZxyz(10.7782, 7.4460, 42.4556)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41B1 #B19A2A
analogous
#2A84B1 #2A41B1 #572AB1
triadic
#2A41B1 #B12A41 #41B12A
tetradic
#2A41B1 #B12A84 #B19A2A #2AB157
square
#2A41B1 #B12A84 #B19A2A #2AB157
split-complementary
#2A41B1 #B1572A #84B12A
monochromatic
#131D4E #1E2F80 #2A41B1 #455DD3 #7788DF

Accessibility & contrast

On white

8.44
#2A41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41B1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41B1#FFFFFF#000000##FFFFFF
##2A41B11.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a41b1;
/* rgb */ color: rgb(42, 65, 177);
/* oklch */ color: oklch(43.3% 0.179 268.6);
Tailwind
colors: {
  custom: {
    50: '#7975c9',
    500: '#2a41b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a41b1;
$custom-light: #7975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41b1",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 229.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.17924,
    "h": 268.6
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#2A41B1
secondary
#C6B870
accent
#C943E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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