#2F2980#2F2980

#2F2980 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.141 H 279.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2F2980
RGBrgb(47, 41, 128)
HSLhsl(244, 51%, 33%)
HSVhsv(244, 68%, 50%)
CMYKcmyk(63.3%, 68%, 0%, 49.8%)
CIE-LABlab(22.82, 30.20, -48.31)
CIE-LCHlch(22.82, 56.97, 302.01°)
OKLaboklab(34.73% 0.0225 -0.1392)
OKLCHoklch(34.73% 0.141 279.2)
XYZxyz(5.8603, 3.7483, 20.8326)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2980 #7A8029
analogous
#294E80 #2F2980 #5A2980
triadic
#2F2980 #802F29 #29802F
tetradic
#2F2980 #80294E #7A8029 #29805A
square
#2F2980 #80294E #7A8029 #29805A
split-complementary
#2F2980 #805A29 #4E8029
monochromatic
#0D0B23 #1E1A52 #2F2980 #4038AE #6159CA

Accessibility & contrast

On white

12.00
#2F2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2980
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2980#FFFFFF#000000##FFFFFF
##2F29801.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2980;
/* rgb */ color: rgb(47, 41, 128);
/* oklch */ color: oklch(34.7% 0.141 279.2);
Tailwind
colors: {
  custom: {
    50: '#7263a6',
    500: '#2f2980',
    950: '#000000',
  },
}
SCSS
$custom: #2f2980;
$custom-light: #7263a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2980",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 244.138,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.14098,
    "h": 279.2
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#2F2980
secondary
#A9AF55
accent
#DB4DD1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #2F2980

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

Preview Lab → · Contrast checker → · Palette generator →

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