#2F2CB0#2F2CB0

#2F2CB0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.200 H 273.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB0
RGBrgb(47, 44, 176)
HSLhsl(241, 60%, 43%)
HSVhsv(241, 75%, 69%)
CMYKcmyk(73.3%, 75%, 0%, 31%)
CIE-LABlab(28.22, 44.71, -68.90)
CIE-LCHlch(28.22, 82.13, 302.98°)
OKLaboklab(40.03% 0.0126 -0.1993)
OKLCHoklch(40.03% 0.2 273.6)
XYZxyz(9.9068, 5.5393, 41.6130)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB0 #ADB02C
analogous
#2C6BB0 #2F2CB0 #712CB0
triadic
#2F2CB0 #B02F2C #2CB02F
tetradic
#2F2CB0 #B02C6B #ADB02C #2CB071
square
#2F2CB0 #B02C6B #ADB02C #2CB071
split-complementary
#2F2CB0 #B0712C #6BB02C
monochromatic
#15144E #22207F #2F2CB0 #4B48D1 #7B79DD

Accessibility & contrast

On white

9.96
#2F2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB0#FFFFFF#000000##FFFFFF
##2F2CB01.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2cb0;
/* rgb */ color: rgb(47, 44, 176);
/* oklch */ color: oklch(40.0% 0.200 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c67c9',
    500: '#2f2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb0;
$custom-light: #7c67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb0",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 241.364,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.19973,
    "h": 273.6
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#2F2CB0
secondary
#C4C672
accent
#E345E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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