#2F2194#2F2194

#2F2194 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.176 H 278.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2F2194
RGBrgb(47, 33, 148)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(68.2%, 77.7%, 0%, 42%)
CIE-LABlab(23.10, 41.64, -60.34)
CIE-LCHlch(23.10, 73.31, 304.61°)
OKLaboklab(35.53% 0.0245 -0.1743)
OKLCHoklch(35.53% 0.176 278)
XYZxyz(7.0597, 3.8296, 28.3784)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2194 #869421
analogous
#214D94 #2F2194 #682194
triadic
#2F2194 #942F21 #21942F
tetradic
#2F2194 #94214D #869421 #219468
square
#2F2194 #94214D #869421 #219468
split-complementary
#2F2194 #946821 #4D9421
monochromatic
#0F0B30 #1F1662 #2F2194 #3F2CC6 #6656D9

Accessibility & contrast

On white

11.89
#2F2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2194
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2194#FFFFFF#000000##FFFFFF
##2F21941.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2194;
/* rgb */ color: rgb(47, 33, 148);
/* oklch */ color: oklch(35.5% 0.176 278.0);
Tailwind
colors: {
  custom: {
    50: '#775fb5',
    500: '#2f2194',
    950: '#000000',
  },
}
SCSS
$custom: #2f2194;
$custom-light: #775fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2194",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 247.304,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.17602,
    "h": 278
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#2F2194
secondary
#B0BD54
accent
#E741D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2194

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

Preview Lab → · Contrast checker → · Palette generator →

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