#2A2E66#2A2E66

#2A2E66 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.097 H 276.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2A2E66
RGBrgb(42, 46, 102)
HSLhsl(236, 42%, 28%)
HSVhsv(236, 59%, 40%)
CMYKcmyk(58.8%, 54.9%, 0%, 60%)
CIE-LABlab(21.60, 16.50, -33.65)
CIE-LCHlch(21.60, 37.48, 296.12°)
OKLaboklab(33.06% 0.0112 -0.0962)
OKLCHoklch(33.06% 0.097 276.6)
XYZxyz(4.3293, 3.4052, 12.9969)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E66 #66622A
analogous
#2A4C66 #2A2E66 #442A66
triadic
#2A2E66 #662A2E #2E662A
tetradic
#2A2E66 #662A4C #66622A #2A6644
square
#2A2E66 #662A4C #66622A #2A6644
split-complementary
#2A2E66 #66442A #4C662A
monochromatic
#090A16 #181A3B #2A2E66 #3C4291 #5259B8

Accessibility & contrast

On white

12.49
#2A2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2A2E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E66
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E66#FFFFFF#000000##FFFFFF
##2A2E661.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103668
Deuteranopia (green-blind)
#063165
Tritanopia (blue-blind)
#0B3B45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a2e66;
/* rgb */ color: rgb(42, 46, 102);
/* oklch */ color: oklch(33.1% 0.097 276.6);
Tailwind
colors: {
  custom: {
    50: '#696692',
    500: '#2a2e66',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e66;
$custom-light: #696692;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e66",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 236,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.09684,
    "h": 276.6
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#2A2E66
secondary
#989454
accent
#C956D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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