#2C2B83#2C2B83

#2C2B83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.143 H 276.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2C2B83
RGBrgb(44, 43, 131)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 67%, 51%)
CMYKcmyk(66.4%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.34, 29.48, -49.36)
CIE-LCHlch(23.34, 57.49, 300.85°)
OKLaboklab(35.14% 0.0164 -0.1423)
OKLCHoklch(35.14% 0.143 276.6)
XYZxyz(5.9980, 3.9014, 21.9053)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B83 #82832B
analogous
#2B5683 #2C2B83 #582B83
triadic
#2C2B83 #832C2B #2B832C
tetradic
#2C2B83 #832B56 #82832B #2B8358
square
#2C2B83 #832B56 #82832B #2B8358
split-complementary
#2C2B83 #83582B #56832B
monochromatic
#0D0D27 #1D1C55 #2C2B83 #3B3AB1 #5F5ECA

Accessibility & contrast

On white

11.80
#2C2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B83
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B83#FFFFFF#000000##FFFFFF
##2C2B831.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2b83;
/* rgb */ color: rgb(44, 43, 131);
/* oklch */ color: oklch(35.1% 0.143 276.6);
Tailwind
colors: {
  custom: {
    50: '#7165a8',
    500: '#2c2b83',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b83;
$custom-light: #7165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b83",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 240.682,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.14327,
    "h": 276.6
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#2C2B83
secondary
#AFB05A
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2C2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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