#2F2394#2F2394

#2F2394 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.174 H 277.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2F2394
RGBrgb(47, 35, 148)
HSLhsl(246, 62%, 36%)
HSVhsv(246, 76%, 58%)
CMYKcmyk(68.2%, 76.4%, 0%, 42%)
CIE-LABlab(23.49, 40.55, -59.70)
CIE-LCHlch(23.49, 72.17, 304.18°)
OKLaboklab(35.81% 0.0234 -0.1725)
OKLCHoklch(35.81% 0.174 277.7)
XYZxyz(7.1169, 3.9439, 28.3974)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2394 #889423
analogous
#234F94 #2F2394 #672394
triadic
#2F2394 #942F23 #23942F
tetradic
#2F2394 #94234F #889423 #239467
square
#2F2394 #94234F #889423 #239467
split-complementary
#2F2394 #946723 #4F9423
monochromatic
#100C31 #1F1763 #2F2394 #3F2FC5 #675AD8

Accessibility & contrast

On white

11.74
#2F2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2394
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2394#FFFFFF#000000##FFFFFF
##2F23941.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2394;
/* rgb */ color: rgb(47, 35, 148);
/* oklch */ color: oklch(35.8% 0.174 277.7);
Tailwind
colors: {
  custom: {
    50: '#7660b5',
    500: '#2f2394',
    950: '#000000',
  },
}
SCSS
$custom: #2f2394;
$custom-light: #7660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2394",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 246.372,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35805,
    "c": 0.17405,
    "h": 277.7
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#2F2394
secondary
#B1BC57
accent
#E543D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2394

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

Preview Lab → · Contrast checker → · Palette generator →

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