#2F41BC#2F41BC

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

Color values

HEX#2F41BC
RGBrgb(47, 65, 188)
HSLhsl(232, 60%, 46%)
HSVhsv(232, 75%, 74%)
CMYKcmyk(75%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.01, 36.21, -66.49)
CIE-LCHlch(34.01, 75.71, 298.57°)
OKLaboklab(44.56% -0.0003 -0.1923)
OKLCHoklch(44.56% 0.192 269.9)
XYZxyz(12.1366, 8.0145, 48.4745)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41BC #BCAA2F
analogous
#2F87BC #2F41BC #632FBC
triadic
#2F41BC #BC2F41 #41BC2F
tetradic
#2F41BC #BC2F87 #BCAA2F #2FBC63
square
#2F41BC #BC2F87 #BCAA2F #2FBC63
split-complementary
#2F41BC #BC632F #87BC2F
monochromatic
#171F5A #23308B #2F41BC #5464D4 #8591E0

Accessibility & contrast

On white

8.07
#2F41BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F41BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41BC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41BC#FFFFFF#000000##FFFFFF
##2F41BC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f41bc;
/* rgb */ color: rgb(47, 65, 188);
/* oklch */ color: oklch(44.6% 0.192 269.9);
Tailwind
colors: {
  custom: {
    50: '#7d75d1',
    500: '#2f41bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f41bc;
$custom-light: #7d75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41bc",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 232.34,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4456,
    "c": 0.19229,
    "h": 269.9
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#2F41BC
secondary
#CAC07D
accent
#CF45E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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