#2F2985#2F2985

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

Color values

HEX#2F2985
RGBrgb(47, 41, 133)
HSLhsl(244, 53%, 34%)
HSVhsv(244, 69%, 52%)
CMYKcmyk(64.7%, 69.2%, 0%, 47.8%)
CIE-LABlab(23.28, 31.93, -50.71)
CIE-LCHlch(23.28, 59.92, 302.20°)
OKLaboklab(35.21% 0.0219 -0.1462)
OKLCHoklch(35.21% 0.148 278.5)
XYZxyz(6.1975, 3.8832, 22.6087)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2985 #7F8529
analogous
#295185 #2F2985 #5D2985
triadic
#2F2985 #852F29 #29852F
tetradic
#2F2985 #852951 #7F8529 #29855D
square
#2F2985 #852951 #7F8529 #29855D
split-complementary
#2F2985 #855D29 #518529
monochromatic
#0E0C27 #1E1B56 #2F2985 #4037B4 #635CCD

Accessibility & contrast

On white

11.82
#2F2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2985
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2985#FFFFFF#000000##FFFFFF
##2F29851.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2985;
/* rgb */ color: rgb(47, 41, 133);
/* oklch */ color: oklch(35.2% 0.148 278.5);
Tailwind
colors: {
  custom: {
    50: '#7363a9',
    500: '#2f2985',
    950: '#000000',
  },
}
SCSS
$custom: #2f2985;
$custom-light: #7363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2985",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 243.913,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35208,
    "c": 0.14782,
    "h": 278.5
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#2F2985
secondary
#ACB258
accent
#DC4CD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2F2985

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

Preview Lab → · Contrast checker → · Palette generator →

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