#2B2CA7#2B2CA7

#2B2CA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.190 H 272.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2B2CA7
RGBrgb(43, 44, 167)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 65%)
CMYKcmyk(74.3%, 73.7%, 0%, 34.5%)
CIE-LABlab(27.03, 41.32, -65.46)
CIE-LCHlch(27.03, 77.41, 302.26°)
OKLaboklab(38.84% 0.0095 -0.1894)
OKLCHoklch(38.84% 0.19 272.9)
XYZxyz(8.8697, 5.1041, 37.0695)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CA7 #A7A62B
analogous
#2B6AA7 #2B2CA7 #682BA7
triadic
#2B2CA7 #A72B2C #2CA72B
tetradic
#2B2CA7 #A72B6A #A7A62B #2BA768
square
#2B2CA7 #A72B6A #A7A62B #2BA768
split-complementary
#2B2CA7 #A7682B #6AA72B
monochromatic
#121246 #1E1F76 #2B2CA7 #4142CE #7273DB

Accessibility & contrast

On white

10.39
#2B2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CA7
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CA7#FFFFFF#000000##FFFFFF
##2B2CA71.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2ca7;
/* rgb */ color: rgb(43, 44, 167);
/* oklch */ color: oklch(38.8% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#7866c2',
    500: '#2b2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ca7;
$custom-light: #7866c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ca7",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 239.516,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.18966,
    "h": 272.9
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#2B2CA7
secondary
#C2C16C
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2B2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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