#2C1FB0#2C1FB0

#2C1FB0 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.2% C 0.212 H 273.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2C1FB0
RGBrgb(44, 31, 176)
HSLhsl(245, 70%, 41%)
HSVhsv(245, 82%, 69%)
CMYKcmyk(75%, 82.4%, 0%, 31%)
CIE-LABlab(25.71, 51.13, -73.06)
CIE-LCHlch(25.71, 89.17, 304.99°)
OKLaboklab(38.23% 0.014 -0.2113)
OKLCHoklch(38.23% 0.212 273.8)
XYZxyz(9.3626, 4.6491, 41.4698)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1FB0 #A3B01F
analogous
#1F5BB0 #2C1FB0 #741FB0
triadic
#2C1FB0 #B02C1F #1FB02C
tetradic
#2C1FB0 #B01F5B #A3B01F #1FB074
square
#2C1FB0 #B01F5B #A3B01F #1FB074
split-complementary
#2C1FB0 #B0741F #5BB01F
monochromatic
#120D48 #1F167C #2C1FB0 #4131DB #7165E4

Accessibility & contrast

On white

10.88
#2C1FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C1FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1FB0
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1FB0#FFFFFF#000000##FFFFFF
##2C1FB01.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c1fb0;
/* rgb */ color: rgb(44, 31, 176);
/* oklch */ color: oklch(38.2% 0.212 273.8);
Tailwind
colors: {
  custom: {
    50: '#7c60c9',
    500: '#2c1fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c1fb0;
$custom-light: #7c60c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1fb0",
  "rgb": {
    "r": 44,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 245.379,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38226,
    "c": 0.21176,
    "h": 273.8
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#2C1FB0
secondary
#C0C962
accent
#ED3BDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C1FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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