#2F2B82#2F2B82

#2F2B82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.141 H 278.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2F2B82
RGBrgb(47, 43, 130)
HSLhsl(243, 50%, 34%)
HSVhsv(243, 67%, 51%)
CMYKcmyk(63.8%, 66.9%, 0%, 49%)
CIE-LABlab(23.48, 29.61, -48.49)
CIE-LCHlch(23.48, 56.81, 301.41°)
OKLaboklab(35.27% 0.0205 -0.1397)
OKLCHoklch(35.27% 0.141 278.4)
XYZxyz(6.0641, 3.9433, 21.5563)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B82 #7E822B
analogous
#2B5382 #2F2B82 #5B2B82
triadic
#2F2B82 #822F2B #2B822F
tetradic
#2F2B82 #822B53 #7E822B #2B825B
square
#2F2B82 #822B53 #7E822B #2B825B
split-complementary
#2F2B82 #825B2B #53822B
monochromatic
#0E0D26 #1E1C54 #2F2B82 #403AB0 #635ECA

Accessibility & contrast

On white

11.74
#2F2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B82
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B82#FFFFFF#000000##FFFFFF
##2F2B821.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2b82;
/* rgb */ color: rgb(47, 43, 130);
/* oklch */ color: oklch(35.3% 0.141 278.4);
Tailwind
colors: {
  custom: {
    50: '#7265a7',
    500: '#2f2b82',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b82;
$custom-light: #7265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b82",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 242.759,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35269,
    "c": 0.14119,
    "h": 278.4
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#2F2B82
secondary
#ACB059
accent
#DA4ED3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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