#2F244F#2F244F

#2F244F is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.7% C 0.076 H 293.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#2F244F
RGBrgb(47, 36, 79)
HSLhsl(255, 37%, 23%)
HSVhsv(255, 54%, 31%)
CMYKcmyk(40.5%, 54.4%, 0%, 69%)
CIE-LABlab(17.60, 16.85, -24.76)
CIE-LCHlch(17.60, 29.95, 304.25°)
OKLaboklab(29.65% 0.0297 -0.07)
OKLCHoklch(29.65% 0.076 293)
XYZxyz(3.2141, 2.4305, 7.6954)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F244F #444F24
analogous
#242E4F #2F244F #44244F
triadic
#2F244F #4F2F24 #244F2F
tetradic
#2F244F #4F242E #444F24 #244F44
square
#2F244F #4F242E #444F24 #244F44
split-complementary
#2F244F #4F4424 #2E4F24
monochromatic
#0D0A15 #161125 #2F244F #483779 #614AA3

Accessibility & contrast

On white

14.13
#2F244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2F244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F244F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F244F#FFFFFF#000000##FFFFFF
##2F244F1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#162A4E
Tritanopia (blue-blind)
#272D35
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f244f;
/* rgb */ color: rgb(47, 36, 79);
/* oklch */ color: oklch(29.7% 0.076 293.0);
Tailwind
colors: {
  custom: {
    50: '#695f80',
    500: '#2f244f',
    950: '#000000',
  },
}
SCSS
$custom: #2f244f;
$custom-light: #695f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f244f",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 255.349,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29653,
    "c": 0.07601,
    "h": 293
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#2F244F
secondary
#75824C
accent
#CD5AB0
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2F244F

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

Preview Lab → · Contrast checker → · Palette generator →

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