#2F2192#2F2192

#2F2192 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.174 H 278.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2F2192
RGBrgb(47, 33, 146)
HSLhsl(247, 63%, 35%)
HSVhsv(247, 77%, 57%)
CMYKcmyk(67.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.89, 41.00, -59.46)
CIE-LCHlch(22.89, 72.22, 304.59°)
OKLaboklab(35.32% 0.025 -0.1717)
OKLCHoklch(35.32% 0.174 278.3)
XYZxyz(6.9028, 3.7668, 27.5519)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2192 #849221
analogous
#214B92 #2F2192 #682192
triadic
#2F2192 #922F21 #21922F
tetradic
#2F2192 #92214B #849221 #219268
square
#2F2192 #92214B #849221 #219268
split-complementary
#2F2192 #926821 #4B9221
monochromatic
#0F0A2E #1F1660 #2F2192 #3F2CC4 #6555D9

Accessibility & contrast

On white

11.98
#2F2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2192
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2192#FFFFFF#000000##FFFFFF
##2F21921.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2192;
/* rgb */ color: rgb(47, 33, 146);
/* oklch */ color: oklch(35.3% 0.174 278.3);
Tailwind
colors: {
  custom: {
    50: '#765fb3',
    500: '#2f2192',
    950: '#000000',
  },
}
SCSS
$custom: #2f2192;
$custom-light: #765fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2192",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 247.434,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.17355,
    "h": 278.3
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#2F2192
secondary
#AFBC53
accent
#E642D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2192

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

Preview Lab → · Contrast checker → · Palette generator →

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