#2A2BC8#2A2BC8

#2A2BC8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.230 H 270.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2A2BC8
RGBrgb(42, 43, 200)
HSLhsl(240, 65%, 47%)
HSVhsv(240, 79%, 78%)
CMYKcmyk(79%, 78.5%, 0%, 21.6%)
CIE-LABlab(30.37, 52.62, -79.54)
CIE-LCHlch(30.37, 95.37, 303.48°)
OKLaboklab(42.24% 0.0026 -0.2303)
OKLCHoklch(42.24% 0.23 270.6)
XYZxyz(12.2405, 6.3887, 55.2204)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2BC8 #C8C72A
analogous
#2A7AC8 #2A2BC8 #782AC8
triadic
#2A2BC8 #C82A2B #2BC82A
tetradic
#2A2BC8 #C82A7A #C8C72A #2AC878
square
#2A2BC8 #C82A7A #C8C72A #2AC878
split-complementary
#2A2BC8 #C8782A #7AC82A
monochromatic
#151563 #1F2095 #2A2BC8 #5455DB #8787E6

Accessibility & contrast

On white

9.22
#2A2BC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A2BC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2BC8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2BC8#FFFFFF#000000##FFFFFF
##2A2BC81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCC
Deuteranopia (green-blind)
#003FC5
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a2bc8;
/* rgb */ color: rgb(42, 43, 200);
/* oklch */ color: oklch(42.2% 0.230 270.6);
Tailwind
colors: {
  custom: {
    50: '#8068da',
    500: '#2a2bc8',
    950: '#000000',
  },
}
SCSS
$custom: #2a2bc8;
$custom-light: #8068da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2bc8",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 200
  },
  "hsl": {
    "h": 239.62,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.23032,
    "h": 270.6
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#2A2BC8
secondary
#CFCF7F
accent
#E740E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A2BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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