#2A2B64#2A2B64

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

Color values

HEX#2A2B64
RGBrgb(42, 43, 100)
HSLhsl(239, 41%, 28%)
HSVhsv(239, 58%, 39%)
CMYKcmyk(58%, 57%, 0%, 60.8%)
CIE-LABlab(20.60, 17.88, -33.96)
CIE-LCHlch(20.60, 38.38, 297.76°)
OKLaboklab(32.26% 0.0147 -0.0971)
OKLCHoklch(32.26% 0.098 278.6)
XYZxyz(4.1182, 3.1398, 12.4432)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B64 #64632A
analogous
#2A4864 #2A2B64 #462A64
triadic
#2A2B64 #642A2B #2B642A
tetradic
#2A2B64 #642A48 #64632A #2A6446
square
#2A2B64 #642A48 #64632A #2A6446
split-complementary
#2A2B64 #64462A #48642A
monochromatic
#090916 #181839 #2A2B64 #3C3E8F #5254B6

Accessibility & contrast

On white

12.90
#2A2B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2B64
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B64#FFFFFF#000000##FFFFFF
##2A2B641.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093466
Deuteranopia (green-blind)
#012F63
Tritanopia (blue-blind)
#0E3843
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2b64;
/* rgb */ color: rgb(42, 43, 100);
/* oklch */ color: oklch(32.3% 0.098 278.6);
Tailwind
colors: {
  custom: {
    50: '#696491',
    500: '#2a2b64',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b64;
$custom-light: #696491;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b64",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 238.966,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32257,
    "c": 0.09823,
    "h": 278.6
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#2A2B64
secondary
#969553
accent
#CF57D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2A2B64

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

Preview Lab → · Contrast checker → · Palette generator →

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