#2F2B65#2F2B65

#2F2B65 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.099 H 282.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2F2B65
RGBrgb(47, 43, 101)
HSLhsl(244, 40%, 28%)
HSVhsv(244, 57%, 40%)
CMYKcmyk(53.5%, 57.4%, 0%, 60.4%)
CIE-LABlab(21.10, 19.41, -33.78)
CIE-LCHlch(21.10, 38.96, 299.88°)
OKLaboklab(32.77% 0.0215 -0.0964)
OKLCHoklch(32.77% 0.099 282.6)
XYZxyz(4.3844, 3.2714, 12.7098)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B65 #61652B
analogous
#2B4465 #2F2B65 #4C2B65
triadic
#2F2B65 #652F2B #2B652F
tetradic
#2F2B65 #652B44 #61652B #2B654C
square
#2F2B65 #652B44 #61652B #2B654C
split-complementary
#2F2B65 #654C2B #44652B
monochromatic
#0A0915 #1B193A #2F2B65 #433D90 #5B54B6

Accessibility & contrast

On white

12.69
#2F2B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F2B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B65
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B65#FFFFFF#000000##FFFFFF
##2F2B651.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3567
Deuteranopia (green-blind)
#053164
Tritanopia (blue-blind)
#1A3843
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2b65;
/* rgb */ color: rgb(47, 43, 101);
/* oklch */ color: oklch(32.8% 0.099 282.6);
Tailwind
colors: {
  custom: {
    50: '#6c6491',
    500: '#2f2b65',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b65;
$custom-light: #6c6491;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b65",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 244.138,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.09881,
    "h": 282.6
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#2F2B65
secondary
#939755
accent
#D058C8
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2B65

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

Preview Lab → · Contrast checker → · Palette generator →

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