#2F41C0#2F41C0

#2F41C0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.197 H 269.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2F41C0
RGBrgb(47, 65, 192)
HSLhsl(233, 61%, 47%)
HSVhsv(233, 76%, 75%)
CMYKcmyk(75.5%, 66.1%, 0%, 24.7%)
CIE-LABlab(34.37, 37.64, -68.24)
CIE-LCHlch(34.37, 77.94, 298.88°)
OKLaboklab(44.94% -0.0005 -0.1974)
OKLCHoklch(44.94% 0.197 269.8)
XYZxyz(12.5738, 8.1893, 50.7770)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41C0 #C0AE2F
analogous
#2F89C0 #2F41C0 #662FC0
triadic
#2F41C0 #C02F41 #41C02F
tetradic
#2F41C0 #C02F89 #C0AE2F #2FC066
square
#2F41C0 #C02F89 #C0AE2F #2FC066
split-complementary
#2F41C0 #C0662F #89C02F
monochromatic
#17205E #23308F #2F41C0 #5666D6 #8893E2

Accessibility & contrast

On white

7.96
#2F41C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F41C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41C0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41C0#FFFFFF#000000##FFFFFF
##2F41C01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f41c0;
/* rgb */ color: rgb(47, 65, 192);
/* oklch */ color: oklch(44.9% 0.197 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e76d4',
    500: '#2f41c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f41c0;
$custom-light: #7e76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41c0",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 232.552,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.19743,
    "h": 269.8
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#2F41C0
secondary
#CBC27F
accent
#D044E4
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #2F41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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