#2F2A83#2F2A83

#2F2A83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.144 H 278.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2F2A83
RGBrgb(47, 42, 131)
HSLhsl(243, 51%, 34%)
HSVhsv(243, 68%, 51%)
CMYKcmyk(64.1%, 67.9%, 0%, 48.6%)
CIE-LABlab(23.33, 30.60, -49.37)
CIE-LCHlch(23.33, 58.08, 301.79°)
OKLaboklab(35.19% 0.0213 -0.1423)
OKLCHoklch(35.19% 0.144 278.5)
XYZxyz(6.0957, 3.8985, 21.8996)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A83 #7E832A
analogous
#2A5283 #2F2A83 #5C2A83
triadic
#2F2A83 #832F2A #2A832F
tetradic
#2F2A83 #832A52 #7E832A #2A835C
square
#2F2A83 #832A52 #7E832A #2A835C
split-complementary
#2F2A83 #835C2A #52832A
monochromatic
#0E0C26 #1E1B55 #2F2A83 #4039B1 #635DCB

Accessibility & contrast

On white

11.80
#2F2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2F2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A83
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A83#FFFFFF#000000##FFFFFF
##2F2A831.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2a83;
/* rgb */ color: rgb(47, 42, 131);
/* oklch */ color: oklch(35.2% 0.144 278.5);
Tailwind
colors: {
  custom: {
    50: '#7264a8',
    500: '#2f2a83',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a83;
$custom-light: #7264a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a83",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 243.371,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.14384,
    "h": 278.5
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#2F2A83
secondary
#ACB158
accent
#DB4DD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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