#2F2094#2F2094

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

Color values

HEX#2F2094
RGBrgb(47, 32, 148)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 58%)
CMYKcmyk(68.2%, 78.4%, 0%, 42%)
CIE-LABlab(22.91, 42.18, -60.65)
CIE-LCHlch(22.91, 73.87, 304.82°)
OKLaboklab(35.4% 0.0251 -0.1752)
OKLCHoklch(35.4% 0.177 278.2)
XYZxyz(7.0324, 3.7749, 28.3693)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2094 #859420
analogous
#204B94 #2F2094 #692094
triadic
#2F2094 #942F20 #20942F
tetradic
#2F2094 #94204B #859420 #209469
square
#2F2094 #94204B #859420 #209469
split-complementary
#2F2094 #946920 #4B9420
monochromatic
#0F0A2F #1F1562 #2F2094 #3F2BC6 #6654DA

Accessibility & contrast

On white

11.97
#2F2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2094
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2094#FFFFFF#000000##FFFFFF
##2F20941.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2094;
/* rgb */ color: rgb(47, 32, 148);
/* oklch */ color: oklch(35.4% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#775eb5',
    500: '#2f2094',
    950: '#000000',
  },
}
SCSS
$custom: #2f2094;
$custom-light: #775eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2094",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 247.759,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.17698,
    "h": 278.2
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#2F2094
secondary
#B0BE52
accent
#E740D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2094

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

Preview Lab → · Contrast checker → · Palette generator →

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