#2F2A64#2F2A64

#2F2A64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.099 H 283.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2F2A64
RGBrgb(47, 42, 100)
HSLhsl(245, 41%, 28%)
HSVhsv(245, 58%, 39%)
CMYKcmyk(53%, 58%, 0%, 60.8%)
CIE-LABlab(20.75, 19.75, -33.69)
CIE-LCHlch(20.75, 39.05, 300.38°)
OKLaboklab(32.48% 0.0228 -0.0962)
OKLCHoklch(32.48% 0.099 283.3)
XYZxyz(4.2998, 3.1801, 12.4414)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A64 #5F642A
analogous
#2A4264 #2F2A64 #4C2A64
triadic
#2F2A64 #642F2A #2A642F
tetradic
#2F2A64 #642A42 #5F642A #2A644C
square
#2F2A64 #642A42 #5F642A #2A644C
split-complementary
#2F2A64 #644C2A #42642A
monochromatic
#0A0916 #1B1839 #2F2A64 #433C8F #5B52B6

Accessibility & contrast

On white

12.84
#2F2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A64
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A64#FFFFFF#000000##FFFFFF
##2F2A641.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093466
Deuteranopia (green-blind)
#043063
Tritanopia (blue-blind)
#1B3742
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2a64;
/* rgb */ color: rgb(47, 42, 100);
/* oklch */ color: oklch(32.5% 0.099 283.3);
Tailwind
colors: {
  custom: {
    50: '#6c6391',
    500: '#2f2a64',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a64;
$custom-light: #6c6391;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a64",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 245.172,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.09884,
    "h": 283.3
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#2F2A64
secondary
#919653
accent
#D157C6
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2F2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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