#2F2D64#2F2D64

#2F2D64 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.094 H 281.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2F2D64
RGBrgb(47, 45, 100)
HSLhsl(242, 38%, 28%)
HSVhsv(242, 55%, 39%)
CMYKcmyk(53%, 55%, 0%, 60.8%)
CIE-LABlab(21.58, 17.67, -32.35)
CIE-LCHlch(21.58, 36.86, 298.65°)
OKLaboklab(33.1% 0.0189 -0.0922)
OKLCHoklch(33.1% 0.094 281.6)
XYZxyz(4.4102, 3.4010, 12.4782)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D64 #62642D
analogous
#2D4664 #2F2D64 #4A2D64
triadic
#2F2D64 #642F2D #2D642F
tetradic
#2F2D64 #642D46 #62642D #2D644A
square
#2F2D64 #642D46 #62642D #2D644A
split-complementary
#2F2D64 #644A2D #46642D
monochromatic
#0A0915 #1B1A3A #2F2D64 #43408E #5B58B4

Accessibility & contrast

On white

12.50
#2F2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2F2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D64
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D64#FFFFFF#000000##FFFFFF
##2F2D641.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123666
Deuteranopia (green-blind)
#0D3263
Tritanopia (blue-blind)
#1B3944
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2d64;
/* rgb */ color: rgb(47, 45, 100);
/* oklch */ color: oklch(33.1% 0.094 281.6);
Tailwind
colors: {
  custom: {
    50: '#6c6690',
    500: '#2f2d64',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d64;
$custom-light: #6c6690;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d64",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 242.182,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.09414,
    "h": 281.6
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#2F2D64
secondary
#949657
accent
#CE5ACA
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2F2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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