#2A2BB1#2A2BB1

#2A2BB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.203 H 272.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2A2BB1
RGBrgb(42, 43, 177)
HSLhsl(240, 62%, 43%)
HSVhsv(240, 76%, 69%)
CMYKcmyk(76.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(27.83, 45.16, -70.16)
CIE-LCHlch(27.83, 83.44, 302.77°)
OKLaboklab(39.71% 0.007 -0.2031)
OKLCHoklch(39.71% 0.203 272)
XYZxyz(9.7519, 5.3933, 42.1135)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2BB1 #B1B02A
analogous
#2A6EB1 #2A2BB1 #6D2AB1
triadic
#2A2BB1 #B12A2B #2BB12A
tetradic
#2A2BB1 #B12A6E #B1B02A #2AB16D
square
#2A2BB1 #B12A6E #B1B02A #2AB16D
split-complementary
#2A2BB1 #B16D2A #6EB12A
monochromatic
#13134E #1E1F80 #2A2BB1 #4546D3 #7778DF

Accessibility & contrast

On white

10.10
#2A2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2BB1
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2BB1#FFFFFF#000000##FFFFFF
##2A2BB11.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a2bb1;
/* rgb */ color: rgb(42, 43, 177);
/* oklch */ color: oklch(39.7% 0.203 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b66ca',
    500: '#2a2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a2bb1;
$custom-light: #7b66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2bb1",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 239.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.2032,
    "h": 272
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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