#2F2CB7#2F2CB7

#2F2CB7 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.208 H 273.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB7
RGBrgb(47, 44, 183)
HSLhsl(241, 61%, 45%)
HSVhsv(241, 76%, 72%)
CMYKcmyk(74.3%, 76%, 0%, 28.2%)
CIE-LABlab(28.96, 47.00, -71.84)
CIE-LCHlch(28.96, 85.85, 303.19°)
OKLaboklab(40.78% 0.0113 -0.2079)
OKLCHoklch(40.78% 0.208 273.1)
XYZxyz(10.6174, 5.8235, 45.3551)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB7 #B4B72C
analogous
#2C6FB7 #2F2CB7 #752CB7
triadic
#2F2CB7 #B72F2C #2CB72F
tetradic
#2F2CB7 #B72C6F #B4B72C #2CB775
square
#2F2CB7 #B72C6F #B4B72C #2CB775
split-complementary
#2F2CB7 #B7752C #6FB72C
monochromatic
#161454 #222086 #2F2CB7 #4F4CD4 #807EE0

Accessibility & contrast

On white

9.70
#2F2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB7
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB7#FFFFFF#000000##FFFFFF
##2F2CB71.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2cb7;
/* rgb */ color: rgb(47, 44, 183);
/* oklch */ color: oklch(40.8% 0.208 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e67ce',
    500: '#2f2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb7;
$custom-light: #7e67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb7",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 241.295,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.20819,
    "h": 273.1
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#2F2CB7
secondary
#C7C876
accent
#E443E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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