#2C2BA6#2C2BA6

#2C2BA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.189 H 273.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2C2BA6
RGBrgb(44, 43, 166)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 65%)
CMYKcmyk(73.5%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.78, 41.66, -65.27)
CIE-LCHlch(26.78, 77.43, 302.55°)
OKLaboklab(38.65% 0.0113 -0.1888)
OKLCHoklch(38.65% 0.189 273.4)
XYZxyz(8.7832, 5.0155, 36.5742)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BA6 #A5A62B
analogous
#2B67A6 #2C2BA6 #692BA6
triadic
#2C2BA6 #A62C2B #2BA62C
tetradic
#2C2BA6 #A62B67 #A5A62B #2BA669
square
#2C2BA6 #A62B67 #A5A62B #2BA669
split-complementary
#2C2BA6 #A6692B #67A62B
monochromatic
#121245 #1F1E75 #2C2BA6 #4241CE #7271DA

Accessibility & contrast

On white

10.48
#2C2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BA6
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BA6#FFFFFF#000000##FFFFFF
##2C2BA61.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ba6;
/* rgb */ color: rgb(44, 43, 166);
/* oklch */ color: oklch(38.6% 0.189 273.4);
Tailwind
colors: {
  custom: {
    50: '#7966c2',
    500: '#2c2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ba6;
$custom-light: #7966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ba6",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 240.488,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.18917,
    "h": 273.4
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#2C2BA6
secondary
#C1C16B
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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