#2F2B66#2F2B66

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

Color values

HEX#2F2B66
RGBrgb(47, 43, 102)
HSLhsl(244, 41%, 28%)
HSVhsv(244, 58%, 40%)
CMYKcmyk(53.9%, 57.8%, 0%, 60%)
CIE-LABlab(21.17, 19.75, -34.31)
CIE-LCHlch(21.17, 39.59, 299.93°)
OKLaboklab(32.85% 0.0216 -0.098)
OKLCHoklch(32.85% 0.1 282.4)
XYZxyz(4.4337, 3.2912, 12.9694)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B66 #62662B
analogous
#2B4466 #2F2B66 #4C2B66
triadic
#2F2B66 #662F2B #2B662F
tetradic
#2F2B66 #662B44 #62662B #2B664C
square
#2F2B66 #662B44 #62662B #2B664C
split-complementary
#2F2B66 #664C2B #44662B
monochromatic
#0A0916 #1B193B #2F2B66 #433D91 #5B54B7

Accessibility & contrast

On white

12.66
#2F2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2F2B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B66
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B66#FFFFFF#000000##FFFFFF
##2F2B661.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083568
Deuteranopia (green-blind)
#033165
Tritanopia (blue-blind)
#1A3844
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2b66;
/* rgb */ color: rgb(47, 43, 102);
/* oklch */ color: oklch(32.8% 0.100 282.4);
Tailwind
colors: {
  custom: {
    50: '#6c6492',
    500: '#2f2b66',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b66;
$custom-light: #6c6492;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b66",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 244.068,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.10036,
    "h": 282.4
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#2F2B66
secondary
#949855
accent
#D157C8
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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