#2A2B66#2A2B66

#2A2B66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.101 H 278.4°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2A2B66
RGBrgb(42, 43, 102)
HSLhsl(239, 42%, 28%)
HSVhsv(239, 59%, 40%)
CMYKcmyk(58.8%, 57.8%, 0%, 60%)
CIE-LABlab(20.75, 18.60, -35.02)
CIE-LCHlch(20.75, 39.66, 297.98°)
OKLaboklab(32.42% 0.0148 -0.1003)
OKLCHoklch(32.42% 0.101 278.4)
XYZxyz(4.2162, 3.1790, 12.9592)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B66 #66652A
analogous
#2A4966 #2A2B66 #472A66
triadic
#2A2B66 #662A2B #2B662A
tetradic
#2A2B66 #662A49 #66652A #2A6647
square
#2A2B66 #662A49 #66652A #2A6647
split-complementary
#2A2B66 #66472A #49662A
monochromatic
#090916 #18193B #2A2B66 #3C3D91 #5254B8

Accessibility & contrast

On white

12.84
#2A2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2B66
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B66#FFFFFF#000000##FFFFFF
##2A2B661.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063468
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#0B3944
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2b66;
/* rgb */ color: rgb(42, 43, 102);
/* oklch */ color: oklch(32.4% 0.101 278.4);
Tailwind
colors: {
  custom: {
    50: '#6a6492',
    500: '#2a2b66',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b66;
$custom-light: #6a6492;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b66",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 239,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32419,
    "c": 0.10134,
    "h": 278.4
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#2A2B66
secondary
#989754
accent
#CF56D1
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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