#2F2FBD#2F2FBD

#2F2FBD is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.213 H 272.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2F2FBD
RGBrgb(47, 47, 189)
HSLhsl(240, 60%, 46%)
HSVhsv(240, 75%, 74%)
CMYKcmyk(75.1%, 75.1%, 0%, 25.9%)
CIE-LABlab(30.18, 47.31, -73.38)
CIE-LCHlch(30.18, 87.31, 302.81°)
OKLaboklab(41.83% 0.0088 -0.2124)
OKLCHoklch(41.83% 0.213 272.4)
XYZxyz(11.3710, 6.3103, 48.7530)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2FBD #BDBD2F
analogous
#2F76BD #2F2FBD #762FBD
triadic
#2F2FBD #BD2F2F #2FBD2F
tetradic
#2F2FBD #BD2F76 #BDBD2F #2FBD76
square
#2F2FBD #BD2F76 #BDBD2F #2FBD76
split-complementary
#2F2FBD #BD762F #76BD2F
monochromatic
#17175B #23238C #2F2FBD #5555D5 #8686E1

Accessibility & contrast

On white

9.28
#2F2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2F2FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2FBD
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2FBD#FFFFFF#000000##FFFFFF
##2F2FBD1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f2fbd;
/* rgb */ color: rgb(47, 47, 189);
/* oklch */ color: oklch(41.8% 0.213 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f6ad2',
    500: '#2f2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f2fbd;
$custom-light: #7f6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2fbd",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.21257,
    "h": 272.4
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#2F2FBD
secondary
#CACA7E
accent
#E344E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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