#2F2CB1#2F2CB1

#2F2CB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.201 H 273.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB1
RGBrgb(47, 44, 177)
HSLhsl(241, 60%, 43%)
HSVhsv(241, 75%, 69%)
CMYKcmyk(73.4%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.32, 45.04, -69.32)
CIE-LCHlch(28.32, 82.67, 303.01°)
OKLaboklab(40.14% 0.0124 -0.2006)
OKLCHoklch(40.14% 0.201 273.5)
XYZxyz(10.0061, 5.5790, 42.1360)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB1 #AEB12C
analogous
#2C6CB1 #2F2CB1 #712CB1
triadic
#2F2CB1 #B12F2C #2CB12F
tetradic
#2F2CB1 #B12C6C #AEB12C #2CB171
square
#2F2CB1 #B12C6C #AEB12C #2CB171
split-complementary
#2F2CB1 #B1712C #6CB12C
monochromatic
#15144F #222080 #2F2CB1 #4C49D2 #7C7ADE

Accessibility & contrast

On white

9.92
#2F2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB1#FFFFFF#000000##FFFFFF
##2F2CB11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2cb1;
/* rgb */ color: rgb(47, 44, 177);
/* oklch */ color: oklch(40.1% 0.201 273.5);
Tailwind
colors: {
  custom: {
    50: '#7c67ca',
    500: '#2f2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb1;
$custom-light: #7c67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb1",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 241.353,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.20094,
    "h": 273.5
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#2F2CB1
secondary
#C4C673
accent
#E344E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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