#2F2274#2F2274

#2F2274 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.133 H 283.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2F2274
RGBrgb(47, 34, 116)
HSLhsl(250, 55%, 29%)
HSVhsv(250, 71%, 45%)
CMYKcmyk(59.5%, 70.7%, 0%, 54.5%)
CIE-LABlab(20.08, 30.52, -45.15)
CIE-LCHlch(20.08, 54.50, 304.05°)
OKLaboklab(32.41% 0.0306 -0.1299)
OKLCHoklch(32.41% 0.133 283.3)
XYZxyz(4.8957, 3.0090, 16.8424)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2274 #677422
analogous
#223E74 #2F2274 #582274
triadic
#2F2274 #742F22 #22742F
tetradic
#2F2274 #74223E #677422 #227458
square
#2F2274 #74223E #677422 #227458
split-complementary
#2F2274 #745822 #3E7422
monochromatic
#0A0718 #1C1445 #2F2274 #4230A3 #5C47C9

Accessibility & contrast

On white

13.11
#2F2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2274
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2274#FFFFFF#000000##FFFFFF
##2F22741.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#0B3748
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f2274;
/* rgb */ color: rgb(47, 34, 116);
/* oklch */ color: oklch(32.4% 0.133 283.3);
Tailwind
colors: {
  custom: {
    50: '#705e9d',
    500: '#2f2274',
    950: '#000000',
  },
}
SCSS
$custom: #2f2274;
$custom-light: #705e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2274",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 249.512,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32412,
    "c": 0.13347,
    "h": 283.3
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#2F2274
secondary
#98A74B
accent
#DE4AC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2F2274

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

Preview Lab → · Contrast checker → · Palette generator →

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