#2F2CAD#2F2CAD

#2F2CAD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.196 H 273.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2CAD
RGBrgb(47, 44, 173)
HSLhsl(241, 59%, 43%)
HSVhsv(241, 75%, 68%)
CMYKcmyk(72.8%, 74.6%, 0%, 32.2%)
CIE-LABlab(27.90, 43.72, -67.62)
CIE-LCHlch(27.90, 80.52, 302.88°)
OKLaboklab(39.72% 0.0132 -0.1956)
OKLCHoklch(39.72% 0.196 273.9)
XYZxyz(9.6133, 5.4219, 40.0670)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CAD #AAAD2C
analogous
#2C6AAD #2F2CAD #6F2CAD
triadic
#2F2CAD #AD2F2C #2CAD2F
tetradic
#2F2CAD #AD2C6A #AAAD2C #2CAD6F
square
#2F2CAD #AD2C6A #AAAD2C #2CAD6F
split-complementary
#2F2CAD #AD6F2C #6AAD2C
monochromatic
#14134B #22207C #2F2CAD #4946D0 #7977DC

Accessibility & contrast

On white

10.07
#2F2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CAD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CAD#FFFFFF#000000##FFFFFF
##2F2CAD1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f2cad;
/* rgb */ color: rgb(47, 44, 173);
/* oklch */ color: oklch(39.7% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b67c7',
    500: '#2f2cad',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cad;
$custom-light: #7b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cad",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 241.395,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.19605,
    "h": 273.9
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#2F2CAD
secondary
#C2C471
accent
#E345DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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