#2F2986#2F2986

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

Color values

HEX#2F2986
RGBrgb(47, 41, 134)
HSLhsl(244, 53%, 34%)
HSVhsv(244, 69%, 53%)
CMYKcmyk(64.9%, 69.4%, 0%, 47.5%)
CIE-LABlab(23.37, 32.28, -51.18)
CIE-LCHlch(23.37, 60.51, 302.24°)
OKLaboklab(35.3% 0.0217 -0.1476)
OKLCHoklch(35.3% 0.149 278.4)
XYZxyz(6.2669, 3.9109, 22.9743)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2986 #808629
analogous
#295286 #2F2986 #5E2986
triadic
#2F2986 #862F29 #29862F
tetradic
#2F2986 #862952 #808629 #29865E
square
#2F2986 #862952 #808629 #29865E
split-complementary
#2F2986 #865E29 #528629
monochromatic
#0E0C28 #1F1B57 #2F2986 #3F37B5 #635CCD

Accessibility & contrast

On white

11.78
#2F2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2986
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2986#FFFFFF#000000##FFFFFF
##2F29861.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2986;
/* rgb */ color: rgb(47, 41, 134);
/* oklch */ color: oklch(35.3% 0.149 278.4);
Tailwind
colors: {
  custom: {
    50: '#7363aa',
    500: '#2f2986',
    950: '#000000',
  },
}
SCSS
$custom: #2f2986;
$custom-light: #7363aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2986",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 243.871,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35304,
    "c": 0.14917,
    "h": 278.4
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#2F2986
secondary
#ADB358
accent
#DD4BD3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2986

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

Preview Lab → · Contrast checker → · Palette generator →

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