#2F2EB9#2F2EB9

#2F2EB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.209 H 272.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F2EB9
RGBrgb(47, 46, 185)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 73%)
CMYKcmyk(74.6%, 75.1%, 0%, 27.5%)
CIE-LABlab(29.56, 46.55, -72.04)
CIE-LCHlch(29.56, 85.77, 302.87°)
OKLaboklab(41.27% 0.01 -0.2085)
OKLCHoklch(41.27% 0.209 272.7)
XYZxyz(10.9033, 6.0600, 46.4846)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EB9 #B8B92E
analogous
#2E72B9 #2F2EB9 #752EB9
triadic
#2F2EB9 #B92F2E #2EB92F
tetradic
#2F2EB9 #B92E72 #B8B92E #2EB975
square
#2F2EB9 #B92E72 #B8B92E #2EB975
split-complementary
#2F2EB9 #B9752E #72B92E
monochromatic
#161657 #232288 #2F2EB9 #5251D4 #8282E0

Accessibility & contrast

On white

9.49
#2F2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EB9
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EB9#FFFFFF#000000##FFFFFF
##2F2EB91.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f2eb9;
/* rgb */ color: rgb(47, 46, 185);
/* oklch */ color: oklch(41.3% 0.209 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e69cf',
    500: '#2f2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eb9;
$custom-light: #7e69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eb9",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 240.432,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.20871,
    "h": 272.7
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#2F2EB9
secondary
#C8C97A
accent
#E344E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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