#2F2CB8#2F2CB8

#2F2CB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.209 H 273.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2F2CB8
RGBrgb(47, 44, 184)
HSLhsl(241, 61%, 45%)
HSVhsv(241, 76%, 72%)
CMYKcmyk(74.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(29.07, 47.32, -72.26)
CIE-LCHlch(29.07, 86.38, 303.22°)
OKLaboklab(40.89% 0.0111 -0.2091)
OKLCHoklch(40.89% 0.209 273)
XYZxyz(10.7218, 5.8653, 45.9052)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CB8 #B5B82C
analogous
#2C6FB8 #2F2CB8 #752CB8
triadic
#2F2CB8 #B82F2C #2CB82F
tetradic
#2F2CB8 #B82C6F #B5B82C #2CB875
square
#2F2CB8 #B82C6F #B5B82C #2CB875
split-complementary
#2F2CB8 #B8752C #6FB82C
monochromatic
#161455 #222087 #2F2CB8 #504DD4 #807EE0

Accessibility & contrast

On white

9.66
#2F2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CB8
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CB8#FFFFFF#000000##FFFFFF
##2F2CB81.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003EB6
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f2cb8;
/* rgb */ color: rgb(47, 44, 184);
/* oklch */ color: oklch(40.9% 0.209 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e67cf',
    500: '#2f2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cb8;
$custom-light: #7e67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cb8",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 241.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40887,
    "c": 0.20939,
    "h": 273
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#2F2CB8
secondary
#C7C977
accent
#E543E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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