#2F2CB4#2F2CB4

#2F2CB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.205 H 273.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB4
RGBrgb(47, 44, 180)
HSLhsl(241, 61%, 44%)
HSVhsv(241, 76%, 71%)
CMYKcmyk(73.9%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.64, 46.02, -70.59)
CIE-LCHlch(28.64, 84.27, 303.10°)
OKLaboklab(40.46% 0.0118 -0.2042)
OKLCHoklch(40.46% 0.205 273.3)
XYZxyz(10.3084, 5.6999, 43.7281)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB4 #B1B42C
analogous
#2C6DB4 #2F2CB4 #732CB4
triadic
#2F2CB4 #B42F2C #2CB42F
tetradic
#2F2CB4 #B42C6D #B1B42C #2CB473
square
#2F2CB4 #B42C6D #B1B42C #2CB473
split-complementary
#2F2CB4 #B4732C #6DB42C
monochromatic
#151452 #222083 #2F2CB4 #4D4AD3 #7E7CDF

Accessibility & contrast

On white

9.81
#2F2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB4#FFFFFF#000000##FFFFFF
##2F2CB41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2cb4;
/* rgb */ color: rgb(47, 44, 180);
/* oklch */ color: oklch(40.5% 0.205 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d67cc',
    500: '#2f2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb4;
$custom-light: #7d67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb4",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 241.324,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.20458,
    "h": 273.3
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#2F2CB4
secondary
#C5C775
accent
#E444E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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