#2A2BB3#2A2BB3

#2A2BB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.206 H 271.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2A2BB3
RGBrgb(42, 43, 179)
HSLhsl(240, 62%, 43%)
HSVhsv(240, 77%, 70%)
CMYKcmyk(76.5%, 76%, 0%, 29.8%)
CIE-LABlab(28.04, 45.83, -70.99)
CIE-LCHlch(28.04, 84.50, 302.84°)
OKLaboklab(39.92% 0.0066 -0.2055)
OKLCHoklch(39.92% 0.206 271.8)
XYZxyz(9.9527, 5.4736, 43.1711)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2BB3 #B3B22A
analogous
#2A6FB3 #2A2BB3 #6D2AB3
triadic
#2A2BB3 #B32A2B #2BB32A
tetradic
#2A2BB3 #B32A6F #B3B22A #2AB36D
square
#2A2BB3 #B32A6F #B3B22A #2AB36D
split-complementary
#2A2BB3 #B36D2A #6FB32A
monochromatic
#131350 #1E1F81 #2A2BB3 #4648D4 #7879DF

Accessibility & contrast

On white

10.02
#2A2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2BB3
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2BB3#FFFFFF#000000##FFFFFF
##2A2BB31.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a2bb3;
/* rgb */ color: rgb(42, 43, 179);
/* oklch */ color: oklch(39.9% 0.206 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b66cb',
    500: '#2a2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a2bb3;
$custom-light: #7b66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2bb3",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 239.562,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.20562,
    "h": 271.8
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#2A2BB3
secondary
#C7C772
accent
#E443E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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