#2F2CA8#2F2CA8

#2F2CA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.190 H 274.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2F2CA8
RGBrgb(47, 44, 168)
HSLhsl(241, 58%, 42%)
HSVhsv(241, 74%, 66%)
CMYKcmyk(72%, 73.8%, 0%, 34.1%)
CIE-LABlab(27.39, 42.05, -65.47)
CIE-LCHlch(27.39, 77.81, 302.71°)
OKLaboklab(39.19% 0.0141 -0.1893)
OKLCHoklch(39.19% 0.19 274.3)
XYZxyz(9.1385, 5.2320, 37.5665)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CA8 #A5A82C
analogous
#2C67A8 #2F2CA8 #6D2CA8
triadic
#2F2CA8 #A82F2C #2CA82F
tetradic
#2F2CA8 #A82C67 #A5A82C #2CA86D
square
#2F2CA8 #A82C67 #A5A82C #2CA86D
split-complementary
#2F2CA8 #A86D2C #67A82C
monochromatic
#141347 #211F78 #2F2CA8 #4743CE #7674DB

Accessibility & contrast

On white

10.26
#2F2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2CA8
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CA8#FFFFFF#000000##FFFFFF
##2F2CA81.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f2ca8;
/* rgb */ color: rgb(47, 44, 168);
/* oklch */ color: oklch(39.2% 0.190 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a67c3',
    500: '#2f2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ca8;
$custom-light: #7a67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ca8",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 241.452,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39193,
    "c": 0.18987,
    "h": 274.3
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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