#2C2B7F#2C2B7F

#2C2B7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.138 H 277.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2B7F
RGBrgb(44, 43, 127)
HSLhsl(241, 49%, 33%)
HSVhsv(241, 66%, 50%)
CMYKcmyk(65.4%, 66.1%, 0%, 50.2%)
CIE-LABlab(22.98, 28.05, -47.43)
CIE-LCHlch(22.98, 55.10, 300.60°)
OKLaboklab(34.76% 0.0168 -0.1367)
OKLCHoklch(34.76% 0.138 277)
XYZxyz(5.7321, 3.7951, 20.5050)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B7F #7E7F2B
analogous
#2B547F #2C2B7F #562B7F
triadic
#2C2B7F #7F2C2B #2B7F2C
tetradic
#2C2B7F #7F2B54 #7E7F2B #2B7F56
square
#2C2B7F #7F2B54 #7E7F2B #2B7F56
split-complementary
#2C2B7F #7F562B #547F2B
monochromatic
#0C0C24 #1C1C51 #2C2B7F #3C3AAD #5E5CC8

Accessibility & contrast

On white

11.94
#2C2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B7F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B7F#FFFFFF#000000##FFFFFF
##2C2B7F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2b7f;
/* rgb */ color: rgb(44, 43, 127);
/* oklch */ color: oklch(34.8% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#7064a5',
    500: '#2c2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b7f;
$custom-light: #7064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b7f",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 240.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34761,
    "c": 0.13769,
    "h": 277
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#2C2B7F
secondary
#ADAE58
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2C2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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