#2C2FB8#2C2FB8

#2C2FB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.207 H 271.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB8
RGBrgb(44, 47, 184)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 72%)
CMYKcmyk(76.1%, 74.5%, 0%, 27.8%)
CIE-LABlab(29.48, 45.41, -71.58)
CIE-LCHlch(29.48, 84.77, 302.39°)
OKLaboklab(41.13% 0.0063 -0.2072)
OKLCHoklch(41.13% 0.207 271.7)
XYZxyz(10.7040, 6.0280, 45.9375)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB8 #B8B52C
analogous
#2C75B8 #2C2FB8 #6F2CB8
triadic
#2C2FB8 #B82C2F #2FB82C
tetradic
#2C2FB8 #B82C75 #B8B52C #2CB86F
square
#2C2FB8 #B82C75 #B8B52C #2CB86F
split-complementary
#2C2FB8 #B86F2C #75B82C
monochromatic
#141655 #202287 #2C2FB8 #4D50D4 #7E80E0

Accessibility & contrast

On white

9.52
#2C2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB8#FFFFFF#000000##FFFFFF
##2C2FB81.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2fb8;
/* rgb */ color: rgb(44, 47, 184);
/* oklch */ color: oklch(41.1% 0.207 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2c2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb8;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb8",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 238.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41132,
    "c": 0.20732,
    "h": 271.7
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#2C2FB8
secondary
#C9C777
accent
#E143E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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