#2A41B0#2A41B0

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

Color values

HEX#2A41B0
RGBrgb(42, 65, 176)
HSLhsl(230, 61%, 43%)
HSVhsv(230, 76%, 69%)
CMYKcmyk(76.1%, 63.1%, 0%, 31%)
CIE-LABlab(32.71, 31.29, -61.52)
CIE-LCHlch(32.71, 69.02, 296.96°)
OKLaboklab(43.22% -0.0045 -0.1779)
OKLCHoklch(43.22% 0.178 268.6)
XYZxyz(10.6789, 7.4063, 41.9326)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41B0 #B0992A
analogous
#2A84B0 #2A41B0 #562AB0
triadic
#2A41B0 #B02A41 #41B02A
tetradic
#2A41B0 #B02A84 #B0992A #2AB056
square
#2A41B0 #B02A84 #B0992A #2AB056
split-complementary
#2A41B0 #B0562A #84B02A
monochromatic
#121D4D #1E2F7F #2A41B0 #455DD3 #7688DE

Accessibility & contrast

On white

8.46
#2A41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41B0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41B0#FFFFFF#000000##FFFFFF
##2A41B01.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a41b0;
/* rgb */ color: rgb(42, 65, 176);
/* oklch */ color: oklch(43.2% 0.178 268.6);
Tailwind
colors: {
  custom: {
    50: '#7875c9',
    500: '#2a41b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a41b0;
$custom-light: #7875c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41b0",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 229.701,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.17792,
    "h": 268.6
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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