#2F2FC9#2F2FC9

#2F2FC9 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.227 H 271.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2F2FC9
RGBrgb(47, 47, 201)
HSLhsl(240, 62%, 49%)
HSVhsv(240, 77%, 79%)
CMYKcmyk(76.6%, 76.6%, 0%, 21.2%)
CIE-LABlab(31.47, 51.19, -78.30)
CIE-LCHlch(31.47, 93.55, 303.18°)
OKLaboklab(43.12% 0.0066 -0.2267)
OKLCHoklch(43.12% 0.227 271.7)
XYZxyz(12.7279, 6.8530, 55.8990)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2FC9 #C9C92F
analogous
#2F7CC9 #2F2FC9 #7C2FC9
triadic
#2F2FC9 #C92F2F #2FC92F
tetradic
#2F2FC9 #C92F7C #C9C92F #2FC97C
square
#2F2FC9 #C92F7C #C9C92F #2FC97C
split-complementary
#2F2FC9 #C97C2F #7CC92F
monochromatic
#181866 #232397 #2F2FC9 #5C5CD9 #8E8EE5

Accessibility & contrast

On white

8.86
#2F2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2FC9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2FC9#FFFFFF#000000##FFFFFF
##2F2FC91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0042C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f2fc9;
/* rgb */ color: rgb(47, 47, 201);
/* oklch */ color: oklch(43.1% 0.227 271.7);
Tailwind
colors: {
  custom: {
    50: '#826adb',
    500: '#2f2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f2fc9;
$custom-light: #826adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2fc9",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.22677,
    "h": 271.7
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#2F2FC9
secondary
#CFCF85
accent
#E543E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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