#2A41B8#2A41B8

#2A41B8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.188 H 268.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2A41B8
RGBrgb(42, 65, 184)
HSLhsl(230, 63%, 44%)
HSVhsv(230, 77%, 72%)
CMYKcmyk(77.2%, 64.7%, 0%, 27.8%)
CIE-LABlab(33.42, 34.24, -65.11)
CIE-LCHlch(33.42, 73.57, 297.74°)
OKLaboklab(43.95% -0.0048 -0.1884)
OKLCHoklch(43.95% 0.188 268.6)
XYZxyz(11.4939, 7.7322, 46.2248)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41B8 #B8A12A
analogous
#2A88B8 #2A41B8 #5A2AB8
triadic
#2A41B8 #B82A41 #41B82A
tetradic
#2A41B8 #B82A88 #B8A12A #2AB85A
square
#2A41B8 #B82A88 #B8A12A #2AB85A
split-complementary
#2A41B8 #B85A2A #88B82A
monochromatic
#131E54 #1F2F86 #2A41B8 #4A60D6 #7B8CE1

Accessibility & contrast

On white

8.25
#2A41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41B8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41B8#FFFFFF#000000##FFFFFF
##2A41B81.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a41b8;
/* rgb */ color: rgb(42, 65, 184);
/* oklch */ color: oklch(44.0% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a75ce',
    500: '#2a41b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a41b8;
$custom-light: #7a75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41b8",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 230.282,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.18843,
    "h": 268.6
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#2A41B8
secondary
#C9BB75
accent
#CB42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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