#2A2D66#2A2D66

#2A2D66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.098 H 277.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2A2D66
RGBrgb(42, 45, 102)
HSLhsl(237, 42%, 28%)
HSVhsv(237, 59%, 40%)
CMYKcmyk(58.8%, 55.9%, 0%, 60%)
CIE-LABlab(21.31, 17.20, -34.11)
CIE-LCHlch(21.31, 38.20, 296.76°)
OKLaboklab(32.84% 0.0124 -0.0975)
OKLCHoklch(32.84% 0.098 277.3)
XYZxyz(4.2907, 3.3280, 12.9841)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D66 #66632A
analogous
#2A4B66 #2A2D66 #452A66
triadic
#2A2D66 #662A2D #2D662A
tetradic
#2A2D66 #662A4B #66632A #2A6645
square
#2A2D66 #662A4B #66632A #2A6645
split-complementary
#2A2D66 #66452A #4B662A
monochromatic
#090A16 #181A3B #2A2D66 #3C4091 #5258B8

Accessibility & contrast

On white

12.61
#2A2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D66
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D66#FFFFFF#000000##FFFFFF
##2A2D661.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3668
Deuteranopia (green-blind)
#033165
Tritanopia (blue-blind)
#0B3A44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a2d66;
/* rgb */ color: rgb(42, 45, 102);
/* oklch */ color: oklch(32.8% 0.098 277.3);
Tailwind
colors: {
  custom: {
    50: '#696592',
    500: '#2a2d66',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d66;
$custom-light: #696592;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d66",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 237,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32842,
    "c": 0.09834,
    "h": 277.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#2A2D66
secondary
#989554
accent
#CB56D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2A2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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