#2A41BF#2A41BF

#2A41BF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.197 H 268.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2A41BF
RGBrgb(42, 65, 191)
HSLhsl(231, 64%, 46%)
HSVhsv(231, 78%, 75%)
CMYKcmyk(78%, 66%, 0%, 25.1%)
CIE-LABlab(34.05, 36.80, -68.19)
CIE-LCHlch(34.05, 77.49, 298.35°)
OKLaboklab(44.61% -0.0051 -0.1974)
OKLCHoklch(44.61% 0.197 268.5)
XYZxyz(12.2459, 8.0330, 50.1852)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41BF #BFA82A
analogous
#2A8BBF #2A41BF #5D2ABF
triadic
#2A41BF #BF2A41 #41BF2A
tetradic
#2A41BF #BF2A8B #BFA82A #2ABF5D
square
#2A41BF #BF2A8B #BFA82A #2ABF5D
split-complementary
#2A41BF #BF5D2A #8BBF2A
monochromatic
#141F5B #1F308D #2A41BF #4E63D8 #8090E3

Accessibility & contrast

On white

8.06
#2A41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A41BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41BF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41BF#FFFFFF#000000##FFFFFF
##2A41BF1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a41bf;
/* rgb */ color: rgb(42, 65, 191);
/* oklch */ color: oklch(44.6% 0.197 268.5);
Tailwind
colors: {
  custom: {
    50: '#7c75d3',
    500: '#2a41bf',
    950: '#000000',
  },
}
SCSS
$custom: #2a41bf;
$custom-light: #7c75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41bf",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 230.738,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.19746,
    "h": 268.5
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#2A41BF
secondary
#CCBF79
accent
#CD41E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2A41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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