#2F2CC9#2F2CC9

#2F2CC9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.229 H 271.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2F2CC9
RGBrgb(47, 44, 201)
HSLhsl(241, 64%, 48%)
HSVhsv(241, 78%, 79%)
CMYKcmyk(76.6%, 78.1%, 0%, 21.2%)
CIE-LABlab(30.93, 52.75, -79.20)
CIE-LCHlch(30.93, 95.15, 303.66°)
OKLaboklab(42.74% 0.0076 -0.2292)
OKLCHoklch(42.74% 0.229 271.9)
XYZxyz(12.6120, 6.6214, 55.8604)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CC9 #C6C92C
analogous
#2C78C9 #2F2CC9 #7D2CC9
triadic
#2F2CC9 #C92F2C #2CC92F
tetradic
#2F2CC9 #C92C78 #C6C92C #2CC97D
square
#2F2CC9 #C92C78 #C6C92C #2CC97D
split-complementary
#2F2CC9 #C97D2C #78C92C
monochromatic
#181665 #232197 #2F2CC9 #5A58DA #8C8AE5

Accessibility & contrast

On white

9.03
#2F2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F2CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CC9
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CC9#FFFFFF#000000##FFFFFF
##2F2CC91.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f2cc9;
/* rgb */ color: rgb(47, 44, 201);
/* oklch */ color: oklch(42.7% 0.229 271.9);
Tailwind
colors: {
  custom: {
    50: '#8268db',
    500: '#2f2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cc9;
$custom-light: #8268db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cc9",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 241.146,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.22937,
    "h": 271.9
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#2F2CC9
secondary
#CECF82
accent
#E741E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2F2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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