#2F2DAE#2F2DAE

#2F2DAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.196 H 273.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2F2DAE
RGBrgb(47, 45, 174)
HSLhsl(241, 59%, 43%)
HSVhsv(241, 74%, 68%)
CMYKcmyk(73%, 74.1%, 0%, 31.8%)
CIE-LABlab(28.21, 43.48, -67.72)
CIE-LCHlch(28.21, 80.47, 302.70°)
OKLaboklab(39.97% 0.0125 -0.1959)
OKLCHoklch(39.97% 0.196 273.7)
XYZxyz(9.7481, 5.5361, 40.5910)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DAE #ACAE2D
analogous
#2D6CAE #2F2DAE #6F2DAE
triadic
#2F2DAE #AE2F2D #2DAE2F
tetradic
#2F2DAE #AE2D6C #ACAE2D #2DAE6F
square
#2F2DAE #AE2D6C #ACAE2D #2DAE6F
split-complementary
#2F2DAE #AE6F2D #6CAE2D
monochromatic
#15144D #22207D #2F2DAE #4B48D0 #7B79DC

Accessibility & contrast

On white

9.96
#2F2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DAE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DAE#FFFFFF#000000##FFFFFF
##2F2DAE1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2dae;
/* rgb */ color: rgb(47, 45, 174);
/* oklch */ color: oklch(40.0% 0.196 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c68c7',
    500: '#2f2dae',
    950: '#000000',
  },
}
SCSS
$custom: #2f2dae;
$custom-light: #7c68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2dae",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 240.93,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.19629,
    "h": 273.7
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#2F2DAE
secondary
#C3C472
accent
#E246E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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