#2A2C64#2A2C64

#2A2C64 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.097 H 278.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#2A2C64
RGBrgb(42, 44, 100)
HSLhsl(238, 41%, 28%)
HSVhsv(238, 58%, 39%)
CMYKcmyk(58%, 56%, 0%, 60.8%)
CIE-LABlab(20.88, 17.18, -33.50)
CIE-LCHlch(20.88, 37.65, 297.14°)
OKLaboklab(32.47% 0.0135 -0.0958)
OKLCHoklch(32.47% 0.097 278)
XYZxyz(4.1551, 3.2134, 12.4554)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C64 #64622A
analogous
#2A4964 #2A2C64 #452A64
triadic
#2A2C64 #642A2C #2C642A
tetradic
#2A2C64 #642A49 #64622A #2A6445
square
#2A2C64 #642A49 #64622A #2A6445
split-complementary
#2A2C64 #64452A #49642A
monochromatic
#090916 #181939 #2A2C64 #3C3F8F #5256B6

Accessibility & contrast

On white

12.78
#2A2C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2A2C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C64
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C64#FFFFFF#000000##FFFFFF
##2A2C641.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#043063
Tritanopia (blue-blind)
#0E3943
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2c64;
/* rgb */ color: rgb(42, 44, 100);
/* oklch */ color: oklch(32.5% 0.097 278.0);
Tailwind
colors: {
  custom: {
    50: '#696590',
    500: '#2a2c64',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c64;
$custom-light: #696590;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c64",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 237.931,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.09672,
    "h": 278
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#2A2C64
secondary
#969453
accent
#CC57D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050D
muted
#7A7A7D

Preview Lab

Preview with #2A2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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