#2A2AAF#2A2AAF

#2A2AAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.202 H 272.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A2AAF
RGBrgb(42, 42, 175)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 76%, 69%)
CMYKcmyk(76%, 76%, 0%, 31.4%)
CIE-LABlab(27.41, 45.06, -69.64)
CIE-LCHlch(27.41, 82.95, 302.90°)
OKLaboklab(39.35% 0.0078 -0.2016)
OKLCHoklch(39.35% 0.202 272.2)
XYZxyz(9.5181, 5.2423, 41.0594)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2AAF #AFAF2A
analogous
#2A6CAF #2A2AAF #6C2AAF
triadic
#2A2AAF #AF2A2A #2AAF2A
tetradic
#2A2AAF #AF2A6C #AFAF2A #2AAF6C
square
#2A2AAF #AF2A6C #AFAF2A #2AAF6C
split-complementary
#2A2AAF #AF6C2A #6CAF2A
monochromatic
#12124C #1E1E7E #2A2AAF #4444D2 #7575DE

Accessibility & contrast

On white

10.25
#2A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2AAF
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2AAF#FFFFFF#000000##FFFFFF
##2A2AAF1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a2aaf;
/* rgb */ color: rgb(42, 42, 175);
/* oklch */ color: oklch(39.4% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a66c8',
    500: '#2a2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2a2aaf;
$custom-light: #7a66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2aaf",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39351,
    "c": 0.20173,
    "h": 272.2
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2A2AAF
secondary
#C6C66F
accent
#E443E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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