#2A2A67#2A2A67

#2A2A67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.104 H 278.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2A2A67
RGBrgb(42, 42, 103)
HSLhsl(240, 42%, 28%)
HSVhsv(240, 59%, 40%)
CMYKcmyk(59.2%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.55, 19.66, -36.00)
CIE-LCHlch(20.55, 41.02, 298.65°)
OKLaboklab(32.29% 0.016 -0.1031)
OKLCHoklch(32.29% 0.104 278.8)
XYZxyz(4.2302, 3.1272, 13.2100)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A67 #67672A
analogous
#2A4867 #2A2A67 #482A67
triadic
#2A2A67 #672A2A #2A672A
tetradic
#2A2A67 #672A48 #67672A #2A6748
square
#2A2A67 #672A48 #67672A #2A6748
split-complementary
#2A2A67 #67482A #48672A
monochromatic
#090916 #18183C #2A2A67 #3C3C92 #5353B9

Accessibility & contrast

On white

12.92
#2A2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2A67
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A67#FFFFFF#000000##FFFFFF
##2A2A671.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#0A3844
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2a67;
/* rgb */ color: rgb(42, 42, 103);
/* oklch */ color: oklch(32.3% 0.104 278.8);
Tailwind
colors: {
  custom: {
    50: '#6a6393',
    500: '#2a2a67',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a67;
$custom-light: #6a6393;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a67",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32294,
    "c": 0.10437,
    "h": 278.8
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#2A2A67
secondary
#999954
accent
#D256D2
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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