#2F2C64#2F2C64

#2F2C64 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.096 H 282.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2F2C64
RGBrgb(47, 44, 100)
HSLhsl(243, 39%, 28%)
HSVhsv(243, 56%, 39%)
CMYKcmyk(53%, 56%, 0%, 60.8%)
CIE-LABlab(21.30, 18.37, -32.80)
CIE-LCHlch(21.30, 37.59, 299.25°)
OKLaboklab(32.89% 0.0202 -0.0935)
OKLCHoklch(32.89% 0.096 282.2)
XYZxyz(4.3725, 3.3256, 12.4656)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C64 #61642C
analogous
#2C4564 #2F2C64 #4B2C64
triadic
#2F2C64 #642F2C #2C642F
tetradic
#2F2C64 #642C45 #61642C #2C644B
square
#2F2C64 #642C45 #61642C #2C644B
split-complementary
#2F2C64 #644B2C #45642C
monochromatic
#0A0915 #1B1939 #2F2C64 #433F8E #5B56B5

Accessibility & contrast

On white

12.61
#2F2C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F2C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C64
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C64#FFFFFF#000000##FFFFFF
##2F2C641.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3566
Deuteranopia (green-blind)
#0A3163
Tritanopia (blue-blind)
#1B3843
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2c64;
/* rgb */ color: rgb(47, 44, 100);
/* oklch */ color: oklch(32.9% 0.096 282.2);
Tailwind
colors: {
  custom: {
    50: '#6c6590',
    500: '#2f2c64',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c64;
$custom-light: #6c6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c64",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 243.214,
    "s": 38.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32894,
    "c": 0.09571,
    "h": 282.2
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#2F2C64
secondary
#939656
accent
#CF59C8
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2F2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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