#2A2D69#2A2D69

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

Color values

HEX#2A2D69
RGBrgb(42, 45, 105)
HSLhsl(237, 43%, 29%)
HSVhsv(237, 60%, 41%)
CMYKcmyk(60%, 57.1%, 0%, 58.8%)
CIE-LABlab(21.54, 18.30, -35.70)
CIE-LCHlch(21.54, 40.12, 297.15°)
OKLaboklab(33.08% 0.0126 -0.1022)
OKLCHoklch(33.08% 0.103 277)
XYZxyz(4.4422, 3.3886, 13.7818)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D69 #69662A
analogous
#2A4D69 #2A2D69 #472A69
triadic
#2A2D69 #692A2D #2D692A
tetradic
#2A2D69 #692A4D #69662A #2A6947
square
#2A2D69 #692A4D #69662A #2A6947
split-complementary
#2A2D69 #69472A #4D692A
monochromatic
#090916 #191A3D #2A2D69 #3B4095 #5358BA

Accessibility & contrast

On white

12.52
#2A2D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D69
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D69#FFFFFF#000000##FFFFFF
##2A2D691.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366B
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#063B46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a2d69;
/* rgb */ color: rgb(42, 45, 105);
/* oklch */ color: oklch(33.1% 0.103 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a6594',
    500: '#2a2d69',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d69;
$custom-light: #6a6594;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d69",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 237.143,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.10299,
    "h": 277
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#2A2D69
secondary
#9B9854
accent
#CD55D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2A2D69

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

Preview Lab → · Contrast checker → · Palette generator →

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