#2F2C8F#2F2C8F

#2F2C8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.158 H 276.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2F2C8F
RGBrgb(47, 44, 143)
HSLhsl(242, 53%, 37%)
HSVhsv(242, 69%, 56%)
CMYKcmyk(67.1%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.92, 33.51, -54.26)
CIE-LCHlch(24.92, 63.78, 301.70°)
OKLaboklab(36.68% 0.0181 -0.1566)
OKLCHoklch(36.68% 0.158 276.6)
XYZxyz(7.0293, 4.3883, 26.4579)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C8F #8C8F2C
analogous
#2C5B8F #2F2C8F #612C8F
triadic
#2F2C8F #8F2F2C #2C8F2F
tetradic
#2F2C8F #8F2C5B #8C8F2C #2C8F61
square
#2F2C8F #8F2C5B #8C8F2C #2C8F61
split-complementary
#2F2C8F #8F612C #5B8F2C
monochromatic
#100F31 #201E60 #2F2C8F #3E3ABE #6966D0

Accessibility & contrast

On white

11.18
#2F2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C8F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C8F#FFFFFF#000000##FFFFFF
##2F2C8F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2c8f;
/* rgb */ color: rgb(47, 44, 143);
/* oklch */ color: oklch(36.7% 0.158 276.6);
Tailwind
colors: {
  custom: {
    50: '#7566b1',
    500: '#2f2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c8f;
$custom-light: #7566b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c8f",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 241.818,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36676,
    "c": 0.15765,
    "h": 276.6
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#2F2C8F
secondary
#B4B661
accent
#DC4BD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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