#2F41AE#2F41AE

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

Color values

HEX#2F41AE
RGBrgb(47, 65, 174)
HSLhsl(231, 57%, 43%)
HSVhsv(231, 73%, 68%)
CMYKcmyk(73%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.79, 31.13, -60.20)
CIE-LCHlch(32.79, 67.77, 297.35°)
OKLaboklab(43.28% 0.0004 -0.1739)
OKLCHoklch(43.28% 0.174 270.1)
XYZxyz(10.7000, 7.4398, 40.9083)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41AE #AE9C2F
analogous
#2F80AE #2F41AE #5C2FAE
triadic
#2F41AE #AE2F41 #41AE2F
tetradic
#2F41AE #AE2F80 #AE9C2F #2FAE5C
square
#2F41AE #AE2F80 #AE9C2F #2FAE5C
split-complementary
#2F41AE #AE5C2F #80AE2F
monochromatic
#151D4E #222F7E #2F41AE #4C5ECF #7C89DC

Accessibility & contrast

On white

8.44
#2F41AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F41AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41AE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41AE#FFFFFF#000000##FFFFFF
##2F41AE1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f41ae;
/* rgb */ color: rgb(47, 65, 174);
/* oklch */ color: oklch(43.3% 0.174 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a75c7',
    500: '#2f41ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f41ae;
$custom-light: #7a75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41ae",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 231.496,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.17388,
    "h": 270.1
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#2F41AE
secondary
#C4B975
accent
#CB47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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