#2A2A68#2A2A68

#2A2A68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.106 H 278.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2A68
RGBrgb(42, 42, 104)
HSLhsl(240, 42%, 29%)
HSVhsv(240, 60%, 41%)
CMYKcmyk(59.6%, 59.6%, 0%, 59.2%)
CIE-LABlab(20.62, 20.03, -36.52)
CIE-LCHlch(20.62, 41.65, 298.74°)
OKLaboklab(32.38% 0.016 -0.1047)
OKLCHoklch(32.38% 0.106 278.7)
XYZxyz(4.2807, 3.1474, 13.4759)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A68 #68682A
analogous
#2A4968 #2A2A68 #492A68
triadic
#2A2A68 #682A2A #2A682A
tetradic
#2A2A68 #682A49 #68682A #2A6849
square
#2A2A68 #682A49 #68682A #2A6849
split-complementary
#2A2A68 #68492A #49682A
monochromatic
#090916 #18183C #2A2A68 #3C3C94 #5353B9

Accessibility & contrast

On white

12.89
#2A2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A2A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A68
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A68#FFFFFF#000000##FFFFFF
##2A2A681.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#083844
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2a68;
/* rgb */ color: rgb(42, 42, 104);
/* oklch */ color: oklch(32.4% 0.106 278.7);
Tailwind
colors: {
  custom: {
    50: '#6a6394',
    500: '#2a2a68',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a68;
$custom-light: #6a6394;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a68",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32377,
    "c": 0.1059,
    "h": 278.7
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#2A2A68
secondary
#9A9A54
accent
#D256D2
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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