#2F2C74#2F2C74

#2F2C74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.120 H 279.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2F2C74
RGBrgb(47, 44, 116)
HSLhsl(243, 45%, 31%)
HSVhsv(243, 62%, 45%)
CMYKcmyk(59.5%, 62.1%, 0%, 54.5%)
CIE-LABlab(22.54, 24.01, -41.15)
CIE-LCHlch(22.54, 47.64, 300.26°)
OKLaboklab(34.2% 0.0205 -0.1181)
OKLCHoklch(34.2% 0.12 279.8)
XYZxyz(5.2244, 3.6663, 16.9520)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C74 #71742C
analogous
#2C4D74 #2F2C74 #532C74
triadic
#2F2C74 #742F2C #2C742F
tetradic
#2F2C74 #742C4D #71742C #2C7453
square
#2F2C74 #742C4D #71742C #2C7453
split-complementary
#2F2C74 #74532C #4D742C
monochromatic
#0B0A1B #1D1B48 #2F2C74 #413DA0 #5E5AC0

Accessibility & contrast

On white

12.11
#2F2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C74
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C74#FFFFFF#000000##FFFFFF
##2F2C741.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#083D4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f2c74;
/* rgb */ color: rgb(47, 44, 116);
/* oklch */ color: oklch(34.2% 0.120 279.8);
Tailwind
colors: {
  custom: {
    50: '#6f659d',
    500: '#2f2c74',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c74;
$custom-light: #6f659d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c74",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 242.5,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34201,
    "c": 0.11988,
    "h": 279.8
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#2F2C74
secondary
#A2A656
accent
#D553CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2F2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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