#2F2592#2F2592

#2F2592 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.169 H 277.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2F2592
RGBrgb(47, 37, 146)
HSLhsl(246, 60%, 36%)
HSVhsv(246, 75%, 57%)
CMYKcmyk(67.8%, 74.7%, 0%, 42.7%)
CIE-LABlab(23.68, 38.76, -58.15)
CIE-LCHlch(23.68, 69.88, 303.69°)
OKLaboklab(35.88% 0.0226 -0.1679)
OKLCHoklch(35.88% 0.169 277.7)
XYZxyz(7.0205, 4.0022, 27.5911)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2592 #889225
analogous
#255192 #2F2592 #652592
triadic
#2F2592 #922F25 #25922F
tetradic
#2F2592 #922551 #889225 #259265
square
#2F2592 #922551 #889225 #259265
split-complementary
#2F2592 #926525 #519225
monochromatic
#100C30 #1F1961 #2F2592 #3F31C3 #675CD6

Accessibility & contrast

On white

11.66
#2F2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2592
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2592#FFFFFF#000000##FFFFFF
##2F25921.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2592;
/* rgb */ color: rgb(47, 37, 146);
/* oklch */ color: oklch(35.9% 0.169 277.7);
Tailwind
colors: {
  custom: {
    50: '#7661b3',
    500: '#2f2592',
    950: '#000000',
  },
}
SCSS
$custom: #2f2592;
$custom-light: #7661b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2592",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 245.505,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.16946,
    "h": 277.7
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#2F2592
secondary
#B1BA58
accent
#E345D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2592

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

Preview Lab → · Contrast checker → · Palette generator →

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