#2F2193#2F2193

#2F2193 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.175 H 278.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2F2193
RGBrgb(47, 33, 147)
HSLhsl(247, 63%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(68%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.99, 41.32, -59.90)
CIE-LCHlch(22.99, 72.77, 304.60°)
OKLaboklab(35.43% 0.0248 -0.173)
OKLCHoklch(35.43% 0.175 278.2)
XYZxyz(6.9809, 3.7980, 27.9633)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2193 #859321
analogous
#214C93 #2F2193 #682193
triadic
#2F2193 #932F21 #21932F
tetradic
#2F2193 #93214C #859321 #219368
square
#2F2193 #93214C #859321 #219368
split-complementary
#2F2193 #936821 #4C9321
monochromatic
#0F0B2F #1F1661 #2F2193 #3F2CC5 #6655D9

Accessibility & contrast

On white

11.93
#2F2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2F2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2193
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2193#FFFFFF#000000##FFFFFF
##2F21931.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f2193;
/* rgb */ color: rgb(47, 33, 147);
/* oklch */ color: oklch(35.4% 0.175 278.2);
Tailwind
colors: {
  custom: {
    50: '#765fb4',
    500: '#2f2193',
    950: '#000000',
  },
}
SCSS
$custom: #2f2193;
$custom-light: #765fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2193",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 247.368,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.17479,
    "h": 278.2
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#2F2193
secondary
#B0BD53
accent
#E641D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2193

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

Preview Lab → · Contrast checker → · Palette generator →

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