#2F2999#2F2999

#2F2999 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.174 H 276.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2F2999
RGBrgb(47, 41, 153)
HSLhsl(243, 58%, 38%)
HSVhsv(243, 73%, 60%)
CMYKcmyk(69.3%, 73.2%, 0%, 40%)
CIE-LABlab(25.23, 38.77, -59.91)
CIE-LCHlch(25.23, 71.36, 302.91°)
OKLaboklab(37.2% 0.0186 -0.1731)
OKLCHoklch(37.2% 0.174 276.1)
XYZxyz(7.7131, 4.4894, 30.5909)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2999 #939929
analogous
#295B99 #2F2999 #672999
triadic
#2F2999 #992F29 #29992F
tetradic
#2F2999 #99295B #939929 #299967
square
#2F2999 #99295B #939929 #299967
split-complementary
#2F2999 #996729 #5B9929
monochromatic
#110F38 #201C69 #2F2999 #3E36C9 #6C66D6

Accessibility & contrast

On white

11.06
#2F2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2999
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2999#FFFFFF#000000##FFFFFF
##2F29991.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2999;
/* rgb */ color: rgb(47, 41, 153);
/* oklch */ color: oklch(37.2% 0.174 276.1);
Tailwind
colors: {
  custom: {
    50: '#7764b8',
    500: '#2f2999',
    950: '#000000',
  },
}
SCSS
$custom: #2f2999;
$custom-light: #7764b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2999",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 243.214,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.1741,
    "h": 276.1
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#2F2999
secondary
#B7BC62
accent
#E147D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2F2999

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

Preview Lab → · Contrast checker → · Palette generator →

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