#2F2BC4#2F2BC4

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

Color values

HEX#2F2BC4
RGBrgb(47, 43, 196)
HSLhsl(242, 64%, 47%)
HSVhsv(242, 78%, 77%)
CMYKcmyk(76%, 78.1%, 0%, 23.1%)
CIE-LABlab(30.20, 51.68, -77.48)
CIE-LCHlch(30.20, 93.14, 303.71°)
OKLaboklab(42.06% 0.009 -0.2242)
OKLCHoklch(42.06% 0.224 272.3)
XYZxyz(11.9966, 6.3163, 52.8008)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BC4 #C0C42B
analogous
#2B73C4 #2F2BC4 #7C2BC4
triadic
#2F2BC4 #C42F2B #2BC42F
tetradic
#2F2BC4 #C42B73 #C0C42B #2BC47C
square
#2F2BC4 #C42B73 #C0C42B #2BC47C
split-complementary
#2F2BC4 #C47C2B #73C42B
monochromatic
#171560 #232092 #2F2BC4 #5653D9 #8885E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2BC4#FFFFFF#000000##FFFFFF
##2F2BC41.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)
#004EC8
Deuteranopia (green-blind)
#003FC1
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f2bc4;
/* rgb */ color: rgb(47, 43, 196);
/* oklch */ color: oklch(42.1% 0.224 272.3);
Tailwind
colors: {
  custom: {
    50: '#8168d7',
    500: '#2f2bc4',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bc4;
$custom-light: #8168d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bc4",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 241.569,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.22443,
    "h": 272.3
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#2F2BC4
secondary
#CBCE7D
accent
#E741E3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2F2BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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