#2C2B7D#2C2B7D

#2C2B7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.135 H 277.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2C2B7D
RGBrgb(44, 43, 125)
HSLhsl(241, 49%, 33%)
HSVhsv(241, 66%, 49%)
CMYKcmyk(64.8%, 65.6%, 0%, 51%)
CIE-LABlab(22.80, 27.33, -46.45)
CIE-LCHlch(22.80, 53.90, 300.47°)
OKLaboklab(34.58% 0.017 -0.1338)
OKLCHoklch(34.58% 0.135 277.2)
XYZxyz(5.6031, 3.7435, 19.8254)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B7D #7C7D2B
analogous
#2B537D #2C2B7D #552B7D
triadic
#2C2B7D #7D2C2B #2B7D2C
tetradic
#2C2B7D #7D2B53 #7C7D2B #2B7D55
square
#2C2B7D #7D2B53 #7C7D2B #2B7D55
split-complementary
#2C2B7D #7D552B #537D2B
monochromatic
#0C0C22 #1C1B4F #2C2B7D #3C3BAB #5D5CC7

Accessibility & contrast

On white

12.01
#2C2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B7D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B7D#FFFFFF#000000##FFFFFF
##2C2B7D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2b7d;
/* rgb */ color: rgb(44, 43, 125);
/* oklch */ color: oklch(34.6% 0.135 277.2);
Tailwind
colors: {
  custom: {
    50: '#6f64a3',
    500: '#2c2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b7d;
$custom-light: #6f64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b7d",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 240.732,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.13487,
    "h": 277.2
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#2C2B7D
secondary
#ACAD57
accent
#D84FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2C2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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