#2A41AF#2A41AF

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

Color values

HEX#2A41AF
RGBrgb(42, 65, 175)
HSLhsl(230, 61%, 43%)
HSVhsv(230, 76%, 69%)
CMYKcmyk(76%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.63, 30.92, -61.07)
CIE-LCHlch(32.63, 68.45, 296.86°)
OKLaboklab(43.12% -0.0045 -0.1765)
OKLCHoklch(43.12% 0.177 268.6)
XYZxyz(10.5803, 7.3668, 41.4135)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41AF #AF982A
analogous
#2A83AF #2A41AF #552AAF
triadic
#2A41AF #AF2A41 #41AF2A
tetradic
#2A41AF #AF2A83 #AF982A #2AAF55
square
#2A41AF #AF2A83 #AF982A #2AAF55
split-complementary
#2A41AF #AF552A #83AF2A
monochromatic
#121C4C #1E2F7E #2A41AF #445DD2 #7588DE

Accessibility & contrast

On white

8.49
#2A41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41AF
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41AF#FFFFFF#000000##FFFFFF
##2A41AF1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a41af;
/* rgb */ color: rgb(42, 65, 175);
/* oklch */ color: oklch(43.1% 0.177 268.6);
Tailwind
colors: {
  custom: {
    50: '#7875c8',
    500: '#2a41af',
    950: '#000000',
  },
}
SCSS
$custom: #2a41af;
$custom-light: #7875c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41af",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 229.624,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.17659,
    "h": 268.6
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#2A41AF
secondary
#C6B76F
accent
#C943E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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