#2A2D64#2A2D64

#2A2D64 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.095 H 277.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2A2D64
RGBrgb(42, 45, 100)
HSLhsl(237, 41%, 28%)
HSVhsv(237, 58%, 39%)
CMYKcmyk(58%, 55%, 0%, 60.8%)
CIE-LABlab(21.17, 16.47, -33.04)
CIE-LCHlch(21.17, 36.92, 296.50°)
OKLaboklab(32.68% 0.0123 -0.0944)
OKLCHoklch(32.68% 0.095 277.4)
XYZxyz(4.1928, 3.2888, 12.4680)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D64 #64612A
analogous
#2A4A64 #2A2D64 #442A64
triadic
#2A2D64 #642A2D #2D642A
tetradic
#2A2D64 #642A4A #64612A #2A6444
square
#2A2D64 #642A4A #64612A #2A6444
split-complementary
#2A2D64 #64442A #4A642A
monochromatic
#090A16 #181A39 #2A2D64 #3C408F #5257B6

Accessibility & contrast

On white

12.67
#2A2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2A2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D64
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D64#FFFFFF#000000##FFFFFF
##2A2D641.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103566
Deuteranopia (green-blind)
#073163
Tritanopia (blue-blind)
#0E3944
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a2d64;
/* rgb */ color: rgb(42, 45, 100);
/* oklch */ color: oklch(32.7% 0.095 277.4);
Tailwind
colors: {
  custom: {
    50: '#696590',
    500: '#2a2d64',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d64;
$custom-light: #696590;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d64",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 236.897,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.0952,
    "h": 277.4
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#2A2D64
secondary
#969353
accent
#CA57D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2A2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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