#2C2FBB#2C2FBB

#2C2FBB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.211 H 271.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2C2FBB
RGBrgb(44, 47, 187)
HSLhsl(239, 62%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(76.5%, 74.9%, 0%, 26.7%)
CIE-LABlab(29.80, 46.41, -72.84)
CIE-LCHlch(29.80, 86.36, 302.50°)
OKLaboklab(41.45% 0.0058 -0.2109)
OKLCHoklch(41.45% 0.211 271.6)
XYZxyz(11.0218, 6.1552, 47.6113)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FBB #BBB82C
analogous
#2C77BB #2C2FBB #702CBB
triadic
#2C2FBB #BB2C2F #2FBB2C
tetradic
#2C2FBB #BB2C77 #BBB82C #2CBB70
square
#2C2FBB #BB2C77 #BBB82C #2CBB70
split-complementary
#2C2FBB #BB702C #77BB2C
monochromatic
#151658 #202389 #2C2FBB #4F52D6 #8082E1

Accessibility & contrast

On white

9.41
#2C2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FBB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FBB#FFFFFF#000000##FFFFFF
##2C2FBB1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c2fbb;
/* rgb */ color: rgb(44, 47, 187);
/* oklch */ color: oklch(41.5% 0.211 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d69d1',
    500: '#2c2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fbb;
$custom-light: #7d69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fbb",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 238.741,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.21095,
    "h": 271.6
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#2C2FBB
secondary
#CAC879
accent
#E243E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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