#2F2D73#2F2D73

#2F2D73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.117 H 279.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2F2D73
RGBrgb(47, 45, 115)
HSLhsl(242, 44%, 31%)
HSVhsv(242, 61%, 45%)
CMYKcmyk(59.1%, 60.9%, 0%, 54.9%)
CIE-LABlab(22.72, 22.97, -40.22)
CIE-LCHlch(22.72, 46.31, 299.74°)
OKLaboklab(34.31% 0.0194 -0.1154)
OKLCHoklch(34.31% 0.117 279.5)
XYZxyz(5.2042, 3.7186, 16.6599)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D73 #71732D
analogous
#2D4E73 #2F2D73 #522D73
triadic
#2F2D73 #732F2D #2D732F
tetradic
#2F2D73 #732D4E #71732D #2D7352
square
#2F2D73 #732D4E #71732D #2D7352
split-complementary
#2F2D73 #73522D #4E732D
monochromatic
#0B0B1B #1D1C47 #2F2D73 #413E9F #5E5BBF

Accessibility & contrast

On white

12.04
#2F2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D73
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D73#FFFFFF#000000##FFFFFF
##2F2D731.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#0A3E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2d73;
/* rgb */ color: rgb(47, 45, 115);
/* oklch */ color: oklch(34.3% 0.117 279.5);
Tailwind
colors: {
  custom: {
    50: '#6f669c',
    500: '#2f2d73',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d73;
$custom-light: #6f669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d73",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 241.714,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3431,
    "c": 0.11698,
    "h": 279.5
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#2F2D73
secondary
#A2A457
accent
#D354D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2F2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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