#2F2CA9#2F2CA9

#2F2CA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.191 H 274.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2F2CA9
RGBrgb(47, 44, 169)
HSLhsl(241, 59%, 42%)
HSVhsv(241, 74%, 66%)
CMYKcmyk(72.2%, 74%, 0%, 33.7%)
CIE-LABlab(27.49, 42.39, -65.90)
CIE-LCHlch(27.49, 78.36, 302.75°)
OKLaboklab(39.3% 0.0139 -0.1906)
OKLCHoklch(39.3% 0.191 274.2)
XYZxyz(9.2320, 5.2694, 38.0590)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CA9 #A6A92C
analogous
#2C68A9 #2F2CA9 #6E2CA9
triadic
#2F2CA9 #A92F2C #2CA92F
tetradic
#2F2CA9 #A92C68 #A6A92C #2CA96E
square
#2F2CA9 #A92C68 #A6A92C #2CA96E
split-complementary
#2F2CA9 #A96E2C #68A92C
monochromatic
#141348 #211F78 #2F2CA9 #4744CE #7774DB

Accessibility & contrast

On white

10.22
#2F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CA9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CA9#FFFFFF#000000##FFFFFF
##2F2CA91.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f2ca9;
/* rgb */ color: rgb(47, 44, 169);
/* oklch */ color: oklch(39.3% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a67c4',
    500: '#2f2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ca9;
$custom-light: #7a67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ca9",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 241.44,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.19111,
    "h": 274.2
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#2F2CA9
secondary
#C1C36E
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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