#2A2B68#2A2B68

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

Color values

HEX#2A2B68
RGBrgb(42, 43, 104)
HSLhsl(239, 42%, 29%)
HSVhsv(239, 60%, 41%)
CMYKcmyk(59.6%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.90, 19.33, -36.08)
CIE-LCHlch(20.90, 40.93, 298.19°)
OKLaboklab(32.58% 0.0149 -0.1034)
OKLCHoklch(32.58% 0.104 278.2)
XYZxyz(4.3166, 3.2192, 13.4879)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B68 #68672A
analogous
#2A4A68 #2A2B68 #482A68
triadic
#2A2B68 #682A2B #2B682A
tetradic
#2A2B68 #682A4A #68672A #2A6848
square
#2A2B68 #682A4A #68672A #2A6848
split-complementary
#2A2B68 #68482A #4A682A
monochromatic
#090916 #18193C #2A2B68 #3C3D94 #5355B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2B68#FFFFFF#000000##FFFFFF
##2A2B681.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)
#02356A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#083945
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a2b68;
/* rgb */ color: rgb(42, 43, 104);
/* oklch */ color: oklch(32.6% 0.104 278.2);
Tailwind
colors: {
  custom: {
    50: '#6a6494',
    500: '#2a2b68',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b68;
$custom-light: #6a6494;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b68",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 239.032,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.10442,
    "h": 278.2
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#2A2B68
secondary
#9A9954
accent
#D056D2
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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