#2F41C9#2F41C9

#2F41C9 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.8% C 0.209 H 269.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2F41C9
RGBrgb(47, 65, 201)
HSLhsl(233, 62%, 49%)
HSVhsv(233, 77%, 79%)
CMYKcmyk(76.6%, 67.7%, 0%, 21.2%)
CIE-LABlab(35.20, 40.82, -72.14)
CIE-LCHlch(35.20, 82.89, 299.51°)
OKLaboklab(45.79% -0.0012 -0.2088)
OKLCHoklch(45.79% 0.209 269.7)
XYZxyz(13.6016, 8.6005, 56.1902)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41C9 #C9B72F
analogous
#2F8EC9 #2F41C9 #6A2FC9
triadic
#2F41C9 #C92F41 #41C92F
tetradic
#2F41C9 #C92F8E #C9B72F #2FC96A
square
#2F41C9 #C92F8E #C9B72F #2FC96A
split-complementary
#2F41C9 #C96A2F #8EC92F
monochromatic
#182166 #233197 #2F41C9 #5C6BD9 #8E98E5

Accessibility & contrast

On white

7.72
#2F41C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F41C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41C9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41C9#FFFFFF#000000##FFFFFF
##2F41C91.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f41c9;
/* rgb */ color: rgb(47, 65, 201);
/* oklch */ color: oklch(45.8% 0.209 269.7);
Tailwind
colors: {
  custom: {
    50: '#8076db',
    500: '#2f41c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f41c9;
$custom-light: #8076db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41c9",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 232.987,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.20882,
    "h": 269.7
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#2F41C9
secondary
#CFC685
accent
#D243E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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