#2F2F65#2F2F65

#2F2F65 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.093 H 280.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2F2F65
RGBrgb(47, 47, 101)
HSLhsl(240, 36%, 29%)
HSVhsv(240, 53%, 40%)
CMYKcmyk(53.5%, 53.5%, 0%, 60.4%)
CIE-LABlab(22.22, 16.64, -31.98)
CIE-LCHlch(22.22, 36.05, 297.49°)
OKLaboklab(33.6% 0.0164 -0.0911)
OKLCHoklch(33.6% 0.093 280.2)
XYZxyz(4.5370, 3.5767, 12.7607)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F65 #65652F
analogous
#2F4A65 #2F2F65 #4A2F65
triadic
#2F2F65 #652F2F #2F652F
tetradic
#2F2F65 #652F4A #65652F #2F654A
square
#2F2F65 #652F4A #65652F #2F654A
split-complementary
#2F2F65 #654A2F #4A652F
monochromatic
#0A0A15 #1C1C3B #2F2F65 #42428F #5B5BB3

Accessibility & contrast

On white

12.24
#2F2F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2F2F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F65
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F65#FFFFFF#000000##FFFFFF
##2F2F651.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153767
Deuteranopia (green-blind)
#103364
Tritanopia (blue-blind)
#1A3B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2f65;
/* rgb */ color: rgb(47, 47, 101);
/* oklch */ color: oklch(33.6% 0.093 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c6791',
    500: '#2f2f65',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f65;
$custom-light: #6c6791;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f65",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 240,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33604,
    "c": 0.09258,
    "h": 280.2
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#2F2F65
secondary
#979759
accent
#CC5BCC
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060D
muted
#7A7A7D

Preview Lab

Preview with #2F2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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