#2F2EB8#2F2EB8

#2F2EB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.208 H 272.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2F2EB8
RGBrgb(47, 46, 184)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 72%)
CMYKcmyk(74.5%, 75%, 0%, 27.8%)
CIE-LABlab(29.46, 46.22, -71.62)
CIE-LCHlch(29.46, 85.24, 302.84°)
OKLaboklab(41.16% 0.0102 -0.2073)
OKLCHoklch(41.16% 0.208 272.8)
XYZxyz(10.7981, 6.0179, 45.9306)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EB8 #B7B82E
analogous
#2E72B8 #2F2EB8 #742EB8
triadic
#2F2EB8 #B82F2E #2EB82F
tetradic
#2F2EB8 #B82E72 #B7B82E #2EB874
square
#2F2EB8 #B82E72 #B7B82E #2EB874
split-complementary
#2F2EB8 #B8742E #72B82E
monochromatic
#161656 #222287 #2F2EB8 #5150D3 #8281DF

Accessibility & contrast

On white

9.53
#2F2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2F2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EB8
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EB8#FFFFFF#000000##FFFFFF
##2F2EB81.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f2eb8;
/* rgb */ color: rgb(47, 46, 184);
/* oklch */ color: oklch(41.2% 0.208 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e69cf',
    500: '#2f2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eb8;
$custom-light: #7e69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eb8",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 240.435,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41161,
    "c": 0.20751,
    "h": 272.8
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#2F2EB8
secondary
#C8C879
accent
#E345E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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