#2F41CA#2F41CA

#2F41CA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.9% C 0.210 H 269.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2F41CA
RGBrgb(47, 65, 202)
HSLhsl(233, 62%, 49%)
HSVhsv(233, 77%, 79%)
CMYKcmyk(76.7%, 67.8%, 0%, 20.8%)
CIE-LABlab(35.30, 41.18, -72.57)
CIE-LCHlch(35.30, 83.44, 299.57°)
OKLaboklab(45.89% -0.0013 -0.2101)
OKLCHoklch(45.89% 0.21 269.6)
XYZxyz(13.7196, 8.6477, 56.8118)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41CA #CAB82F
analogous
#2F8FCA #2F41CA #6B2FCA
triadic
#2F41CA #CA2F41 #41CA2F
tetradic
#2F41CA #CA2F8F #CAB82F #2FCA6B
square
#2F41CA #CA2F8F #CAB82F #2FCA6B
split-complementary
#2F41CA #CA6B2F #8FCA2F
monochromatic
#182167 #233198 #2F41CA #5D6BD9 #8F99E5

Accessibility & contrast

On white

7.69
#2F41CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F41CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41CA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41CA#FFFFFF#000000##FFFFFF
##2F41CA1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f41ca;
/* rgb */ color: rgb(47, 65, 202);
/* oklch */ color: oklch(45.9% 0.210 269.6);
Tailwind
colors: {
  custom: {
    50: '#8076db',
    500: '#2f41ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f41ca;
$custom-light: #8076db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41ca",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 233.032,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.21007,
    "h": 269.6
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#2F41CA
secondary
#CFC786
accent
#D242E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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