#2F2EB6#2F2EB6

#2F2EB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.205 H 272.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2F2EB6
RGBrgb(47, 46, 182)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.2%, 74.7%, 0%, 28.6%)
CIE-LABlab(29.25, 45.57, -70.78)
CIE-LCHlch(29.25, 84.18, 302.77°)
OKLaboklab(40.95% 0.0106 -0.2048)
OKLCHoklch(40.95% 0.205 272.9)
XYZxyz(10.5900, 5.9346, 44.8343)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EB6 #B5B62E
analogous
#2E71B6 #2F2EB6 #732EB6
triadic
#2F2EB6 #B62F2E #2EB62F
tetradic
#2F2EB6 #B62E71 #B5B62E #2EB673
square
#2F2EB6 #B62E71 #B5B62E #2EB673
split-complementary
#2F2EB6 #B6732E #71B62E
monochromatic
#161554 #222285 #2F2EB6 #504FD2 #8080DF

Accessibility & contrast

On white

9.60
#2F2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EB6
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EB6#FFFFFF#000000##FFFFFF
##2F2EB61.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f2eb6;
/* rgb */ color: rgb(47, 46, 182);
/* oklch */ color: oklch(40.9% 0.205 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d69cd',
    500: '#2f2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f2eb6;
$custom-light: #7d69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2eb6",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 240.441,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.20508,
    "h": 272.9
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#2F2EB6
secondary
#C7C878
accent
#E345E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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