#2F2CB5#2F2CB5

#2F2CB5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.206 H 273.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB5
RGBrgb(47, 44, 181)
HSLhsl(241, 61%, 44%)
HSVhsv(241, 76%, 71%)
CMYKcmyk(74%, 75.7%, 0%, 29%)
CIE-LABlab(28.75, 46.35, -71.01)
CIE-LCHlch(28.75, 84.80, 303.13°)
OKLaboklab(40.57% 0.0117 -0.2055)
OKLCHoklch(40.57% 0.206 273.2)
XYZxyz(10.4107, 5.7408, 44.2665)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB5 #B2B52C
analogous
#2C6EB5 #2F2CB5 #742CB5
triadic
#2F2CB5 #B52F2C #2CB52F
tetradic
#2F2CB5 #B52C6E #B2B52C #2CB574
square
#2F2CB5 #B52C6E #B2B52C #2CB574
split-complementary
#2F2CB5 #B5742C #6EB52C
monochromatic
#151453 #222084 #2F2CB5 #4E4BD3 #7E7CDF

Accessibility & contrast

On white

9.77
#2F2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB5#FFFFFF#000000##FFFFFF
##2F2CB51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2cb5;
/* rgb */ color: rgb(47, 44, 181);
/* oklch */ color: oklch(40.6% 0.206 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d67cc',
    500: '#2f2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb5;
$custom-light: #7d67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb5",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 241.314,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.20579,
    "h": 273.2
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#2F2CB5
secondary
#C6C875
accent
#E444E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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