#2C2FE3#2C2FE3

#2C2FE3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.257 H 269.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2C2FE3
RGBrgb(44, 47, 227)
HSLhsl(239, 77%, 53%)
HSVhsv(239, 81%, 89%)
CMYKcmyk(80.6%, 79.3%, 0%, 11%)
CIE-LABlab(34.22, 59.14, -88.77)
CIE-LCHlch(34.22, 106.67, 303.67°)
OKLaboklab(45.84% -0.0015 -0.2571)
OKLCHoklch(45.84% 0.257 269.7)
XYZxyz(15.9156, 8.1127, 73.3852)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FE3 #E3E02C
analogous
#2C8BE3 #2C2FE3 #842CE3
triadic
#2C2FE3 #E32C2F #2FE32C
tetradic
#2C2FE3 #E32C8B #E3E02C #2CE384
square
#2C2FE3 #E32C8B #E3E02C #2CE384
split-complementary
#2C2FE3 #E3842C #8BE32C
monochromatic
#111383 #191BB9 #2C2FE3 #6264EA #989AF1

Accessibility & contrast

On white

8.01
#2C2FE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C2FE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FE3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FE3#FFFFFF#000000##FFFFFF
##2C2FE31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#0047E0
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c2fe3;
/* rgb */ color: rgb(44, 47, 227);
/* oklch */ color: oklch(45.8% 0.257 269.7);
Tailwind
colors: {
  custom: {
    50: '#876ced',
    500: '#2c2fe3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fe3;
$custom-light: #876ced;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fe3",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 227
  },
  "hsl": {
    "h": 239.016,
    "s": 76.569,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.25708,
    "h": 269.7
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#2C2FE3
secondary
#DDDC8E
accent
#F035F3
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2C2FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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