#2C2BA5#2C2BA5

#2C2BA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.188 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2C2BA5
RGBrgb(44, 43, 165)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 65%)
CMYKcmyk(73.3%, 73.9%, 0%, 35.3%)
CIE-LABlab(26.67, 41.32, -64.84)
CIE-LCHlch(26.67, 76.89, 302.51°)
OKLaboklab(38.54% 0.0115 -0.1876)
OKLCHoklch(38.54% 0.188 273.5)
XYZxyz(8.6918, 4.9790, 36.0930)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BA5 #A4A52B
analogous
#2B67A5 #2C2BA5 #692BA5
triadic
#2C2BA5 #A52C2B #2BA52C
tetradic
#2C2BA5 #A52B67 #A4A52B #2BA569
square
#2C2BA5 #A52B67 #A4A52B #2BA569
split-complementary
#2C2BA5 #A5692B #67A52B
monochromatic
#121244 #1F1E74 #2C2BA5 #4140CD #7171DA

Accessibility & contrast

On white

10.52
#2C2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2BA5
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BA5#FFFFFF#000000##FFFFFF
##2C2BA51.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ba5;
/* rgb */ color: rgb(44, 43, 165);
/* oklch */ color: oklch(38.5% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#7866c1',
    500: '#2c2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ba5;
$custom-light: #7866c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ba5",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 240.492,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.18791,
    "h": 273.5
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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