#2F2FC1#2F2FC1

#2F2FC1 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.217 H 272.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2F2FC1
RGBrgb(47, 47, 193)
HSLhsl(240, 61%, 47%)
HSVhsv(240, 76%, 76%)
CMYKcmyk(75.6%, 75.6%, 0%, 24.3%)
CIE-LABlab(30.61, 48.61, -75.04)
CIE-LCHlch(30.61, 89.41, 302.94°)
OKLaboklab(42.26% 0.0081 -0.2172)
OKLCHoklch(42.26% 0.217 272.1)
XYZxyz(11.8112, 6.4864, 51.0712)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2FC1 #C1C12F
analogous
#2F78C1 #2F2FC1 #782FC1
triadic
#2F2FC1 #C12F2F #2FC12F
tetradic
#2F2FC1 #C12F78 #C1C12F #2FC178
square
#2F2FC1 #C12F78 #C1C12F #2FC178
split-complementary
#2F2FC1 #C1782F #78C12F
monochromatic
#17175F #232390 #2F2FC1 #5757D6 #8888E2

Accessibility & contrast

On white

9.14
#2F2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F2FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2FC1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2FC1#FFFFFF#000000##FFFFFF
##2F2FC11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0041BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f2fc1;
/* rgb */ color: rgb(47, 47, 193);
/* oklch */ color: oklch(42.3% 0.217 272.1);
Tailwind
colors: {
  custom: {
    50: '#806ad5',
    500: '#2f2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #2f2fc1;
$custom-light: #806ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2fc1",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 240,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.21735,
    "h": 272.1
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#2F2FC1
secondary
#CCCC80
accent
#E444E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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