#2F2499#2F2499

#2F2499 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.179 H 276.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2F2499
RGBrgb(47, 36, 153)
HSLhsl(246, 62%, 37%)
HSVhsv(246, 76%, 60%)
CMYKcmyk(69.3%, 76.5%, 0%, 40%)
CIE-LABlab(24.21, 41.62, -61.59)
CIE-LCHlch(24.21, 74.33, 304.05°)
OKLaboklab(36.48% 0.0216 -0.178)
OKLCHoklch(36.48% 0.179 276.9)
XYZxyz(7.5511, 4.1653, 30.5369)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2499 #8E9924
analogous
#245499 #2F2499 #6A2499
triadic
#2F2499 #992F24 #24992F
tetradic
#2F2499 #992454 #8E9924 #24996A
square
#2F2499 #992454 #8E9924 #24996A
split-complementary
#2F2499 #996A24 #549924
monochromatic
#110D36 #201867 #2F2499 #3E30CB #6A5ED9

Accessibility & contrast

On white

11.46
#2F2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2499
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2499#FFFFFF#000000##FFFFFF
##2F24991.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2499;
/* rgb */ color: rgb(47, 36, 153);
/* oklch */ color: oklch(36.5% 0.179 276.9);
Tailwind
colors: {
  custom: {
    50: '#7761b8',
    500: '#2f2499',
    950: '#000000',
  },
}
SCSS
$custom: #2f2499;
$custom-light: #7761b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2499",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 245.641,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.17927,
    "h": 276.9
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#2F2499
secondary
#B5BE5B
accent
#E543D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F2499

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

Preview Lab → · Contrast checker → · Palette generator →

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