#2F41AD#2F41AD

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

Color values

HEX#2F41AD
RGBrgb(47, 65, 173)
HSLhsl(231, 57%, 43%)
HSVhsv(231, 73%, 68%)
CMYKcmyk(72.8%, 62.4%, 0%, 32.2%)
CIE-LABlab(32.70, 30.77, -59.74)
CIE-LCHlch(32.70, 67.20, 297.25°)
OKLaboklab(43.19% 0.0004 -0.1725)
OKLCHoklch(43.19% 0.173 270.1)
XYZxyz(10.6028, 7.4010, 40.3968)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41AD #AD9B2F
analogous
#2F80AD #2F41AD #5C2FAD
triadic
#2F41AD #AD2F41 #41AD2F
tetradic
#2F41AD #AD2F80 #AD9B2F #2FAD5C
square
#2F41AD #AD2F80 #AD9B2F #2FAD5C
split-complementary
#2F41AD #AD5C2F #80AD2F
monochromatic
#151D4D #222F7D #2F41AD #4B5ECE #7B89DB

Accessibility & contrast

On white

8.47
#2F41AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F41AD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41AD#FFFFFF#000000##FFFFFF
##2F41AD1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f41ad;
/* rgb */ color: rgb(47, 65, 173);
/* oklch */ color: oklch(43.2% 0.173 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a75c6',
    500: '#2f41ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f41ad;
$custom-light: #7a75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41ad",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 231.429,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.17254,
    "h": 270.1
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#2F41AD
secondary
#C4B874
accent
#CB47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F41AD

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

Preview Lab → · Contrast checker → · Palette generator →

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