#2F2FBB#2F2FBB

#2F2FBB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.210 H 272.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F2FBB
RGBrgb(47, 47, 187)
HSLhsl(240, 60%, 46%)
HSVhsv(240, 75%, 73%)
CMYKcmyk(74.9%, 74.9%, 0%, 26.7%)
CIE-LABlab(29.97, 46.65, -72.55)
CIE-LCHlch(29.97, 86.26, 302.74°)
OKLaboklab(41.62% 0.0092 -0.21)
OKLCHoklch(41.62% 0.21 272.5)
XYZxyz(11.1554, 6.2241, 47.6175)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2FBB #BBBB2F
analogous
#2F75BB #2F2FBB #752FBB
triadic
#2F2FBB #BB2F2F #2FBB2F
tetradic
#2F2FBB #BB2F75 #BBBB2F #2FBB75
square
#2F2FBB #BB2F75 #BBBB2F #2FBB75
split-complementary
#2F2FBB #BB752F #75BB2F
monochromatic
#161659 #23238A #2F2FBB #5353D4 #8484E0

Accessibility & contrast

On white

9.35
#2F2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2FBB
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2FBB#FFFFFF#000000##FFFFFF
##2F2FBB1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f2fbb;
/* rgb */ color: rgb(47, 47, 187);
/* oklch */ color: oklch(41.6% 0.210 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e69d1',
    500: '#2f2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2f2fbb;
$custom-light: #7e69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2fbb",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.21017,
    "h": 272.5
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#2F2FBB
secondary
#C9C97C
accent
#E345E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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