#2F2EBA#2F2EBA

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

Color values

HEX#2F2EBA
RGBrgb(47, 46, 186)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 73%)
CMYKcmyk(74.7%, 75.3%, 0%, 27.1%)
CIE-LABlab(29.67, 46.88, -72.46)
CIE-LCHlch(29.67, 86.30, 302.90°)
OKLaboklab(41.37% 0.0098 -0.2097)
OKLCHoklch(41.37% 0.21 272.7)
XYZxyz(11.0092, 6.1023, 47.0425)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EBA #B9BA2E
analogous
#2E73BA #2F2EBA #752EBA
triadic
#2F2EBA #BA2F2E #2EBA2F
tetradic
#2F2EBA #BA2E73 #B9BA2E #2EBA75
square
#2F2EBA #BA2E73 #B9BA2E #2EBA75
split-complementary
#2F2EBA #BA752E #73BA2E
monochromatic
#161658 #232289 #2F2EBA #5251D4 #8382E0

Accessibility & contrast

On white

9.46
#2F2EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F2EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EBA
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EBA#FFFFFF#000000##FFFFFF
##2F2EBA1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f2eba;
/* rgb */ color: rgb(47, 46, 186);
/* oklch */ color: oklch(41.4% 0.210 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e69d0',
    500: '#2f2eba',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eba;
$custom-light: #7e69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eba",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 240.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.20992,
    "h": 272.7
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#2F2EBA
secondary
#C9C97B
accent
#E344E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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