#2F2BB6#2F2BB6

#2F2BB6 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.208 H 273.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2F2BB6
RGBrgb(47, 43, 182)
HSLhsl(242, 62%, 44%)
HSVhsv(242, 76%, 71%)
CMYKcmyk(74.2%, 76.4%, 0%, 28.6%)
CIE-LABlab(28.66, 47.22, -71.74)
CIE-LCHlch(28.66, 85.89, 303.35°)
OKLaboklab(40.54% 0.0119 -0.2076)
OKLCHoklch(40.54% 0.208 273.3)
XYZxyz(10.4768, 5.7084, 44.7966)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BB6 #B2B62B
analogous
#2B6CB6 #2F2BB6 #752BB6
triadic
#2F2BB6 #B62F2B #2BB62F
tetradic
#2F2BB6 #B62B6C #B2B62B #2BB675
square
#2F2BB6 #B62B6C #B2B62B #2BB675
split-complementary
#2F2BB6 #B6752B #6CB62B
monochromatic
#151453 #221F84 #2F2BB6 #4E4AD4 #7E7BE0

Accessibility & contrast

On white

9.80
#2F2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BB6
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BB6#FFFFFF#000000##FFFFFF
##2F2BB61.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2bb6;
/* rgb */ color: rgb(47, 43, 182);
/* oklch */ color: oklch(40.5% 0.208 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e67cd',
    500: '#2f2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bb6;
$custom-light: #7e67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bb6",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 241.727,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.20793,
    "h": 273.3
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#2F2BB6
secondary
#C6C875
accent
#E543E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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