#2F2CC8#2F2CC8

#2F2CC8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.228 H 272.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2CC8
RGBrgb(47, 44, 200)
HSLhsl(241, 64%, 48%)
HSVhsv(241, 78%, 78%)
CMYKcmyk(76.5%, 78%, 0%, 21.6%)
CIE-LABlab(30.82, 52.43, -78.79)
CIE-LCHlch(30.82, 94.65, 303.64°)
OKLaboklab(42.63% 0.0078 -0.2281)
OKLCHoklch(42.63% 0.228 272)
XYZxyz(12.4948, 6.5745, 55.2429)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CC8 #C5C82C
analogous
#2C77C8 #2F2CC8 #7D2CC8
triadic
#2F2CC8 #C82F2C #2CC82F
tetradic
#2F2CC8 #C82C77 #C5C82C #2CC87D
square
#2F2CC8 #C82C77 #C5C82C #2CC87D
split-complementary
#2F2CC8 #C87D2C #77C82C
monochromatic
#171664 #232196 #2F2CC8 #5A57DA #8B89E5

Accessibility & contrast

On white

9.07
#2F2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2CC8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CC8#FFFFFF#000000##FFFFFF
##2F2CC81.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2cc8;
/* rgb */ color: rgb(47, 44, 200);
/* oklch */ color: oklch(42.6% 0.228 272.0);
Tailwind
colors: {
  custom: {
    50: '#8268da',
    500: '#2f2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cc8;
$custom-light: #8268da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cc8",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 241.154,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42629,
    "c": 0.2282,
    "h": 272
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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