#2F41B0#2F41B0

#2F41B0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.177 H 270.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2F41B0
RGBrgb(47, 65, 176)
HSLhsl(232, 58%, 44%)
HSVhsv(232, 73%, 69%)
CMYKcmyk(73.3%, 63.1%, 0%, 31%)
CIE-LABlab(32.96, 31.86, -61.11)
CIE-LCHlch(32.96, 68.92, 297.54°)
OKLaboklab(43.46% 0.0003 -0.1766)
OKLCHoklch(43.46% 0.177 270.1)
XYZxyz(10.8964, 7.5184, 41.9428)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41B0 #B09E2F
analogous
#2F81B0 #2F41B0 #5D2FB0
triadic
#2F41B0 #B02F41 #41B02F
tetradic
#2F41B0 #B02F81 #B09E2F #2FB05D
square
#2F41B0 #B02F81 #B09E2F #2FB05D
split-complementary
#2F41B0 #B05D2F #81B02F
monochromatic
#151D4F #222F80 #2F41B0 #4D5FCF #7D8ADC

Accessibility & contrast

On white

8.39
#2F41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41B0
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41B0#FFFFFF#000000##FFFFFF
##2F41B01.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f41b0;
/* rgb */ color: rgb(47, 65, 176);
/* oklch */ color: oklch(43.5% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a75c9',
    500: '#2f41b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f41b0;
$custom-light: #7a75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41b0",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 231.628,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.17655,
    "h": 270.1
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#2F41B0
secondary
#C5BA76
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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