#2F2294#2F2294

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

Color values

HEX#2F2294
RGBrgb(47, 34, 148)
HSLhsl(247, 63%, 36%)
HSVhsv(247, 77%, 58%)
CMYKcmyk(68.2%, 77%, 0%, 42%)
CIE-LABlab(23.29, 41.10, -60.03)
CIE-LCHlch(23.29, 72.75, 304.40°)
OKLaboklab(35.67% 0.024 -0.1734)
OKLCHoklch(35.67% 0.175 277.9)
XYZxyz(7.0879, 3.8859, 28.3878)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2294 #879422
analogous
#224E94 #2F2294 #682294
triadic
#2F2294 #942F22 #22942F
tetradic
#2F2294 #94224E #879422 #229468
square
#2F2294 #94224E #879422 #229468
split-complementary
#2F2294 #946822 #4E9422
monochromatic
#0F0B30 #1F1762 #2F2294 #3F2DC6 #6658D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2294#FFFFFF#000000##FFFFFF
##2F22941.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)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2294;
/* rgb */ color: rgb(47, 34, 148);
/* oklch */ color: oklch(35.7% 0.175 277.9);
Tailwind
colors: {
  custom: {
    50: '#7760b5',
    500: '#2f2294',
    950: '#000000',
  },
}
SCSS
$custom: #2f2294;
$custom-light: #7760b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2294",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 246.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.17505,
    "h": 277.9
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#2F2294
secondary
#B1BD55
accent
#E642D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2294

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

Preview Lab → · Contrast checker → · Palette generator →

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