#2A2BAF#2A2BAF

#2A2BAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.201 H 272.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2A2BAF
RGBrgb(42, 43, 175)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 69%)
CMYKcmyk(76%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.61, 44.50, -69.31)
CIE-LCHlch(27.61, 82.37, 302.70°)
OKLaboklab(39.49% 0.0073 -0.2006)
OKLCHoklch(39.49% 0.201 272.1)
XYZxyz(9.5540, 5.3141, 41.0713)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2BAF #AFAE2A
analogous
#2A6DAF #2A2BAF #6C2AAF
triadic
#2A2BAF #AF2A2B #2BAF2A
tetradic
#2A2BAF #AF2A6D #AFAE2A #2AAF6C
square
#2A2BAF #AF2A6D #AFAE2A #2AAF6C
split-complementary
#2A2BAF #AF6C2A #6DAF2A
monochromatic
#12134C #1E1F7E #2A2BAF #4445D2 #7576DE

Accessibility & contrast

On white

10.18
#2A2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2BAF
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2BAF#FFFFFF#000000##FFFFFF
##2A2BAF1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2baf;
/* rgb */ color: rgb(42, 43, 175);
/* oklch */ color: oklch(39.5% 0.201 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a66c8',
    500: '#2a2baf',
    950: '#000000',
  },
}
SCSS
$custom: #2a2baf;
$custom-light: #7a66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2baf",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 239.549,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.20077,
    "h": 272.1
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#2A2BAF
secondary
#C6C56F
accent
#E343E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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