#2A2D6F#2A2D6F

#2A2D6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.112 H 276.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2A2D6F
RGBrgb(42, 45, 111)
HSLhsl(237, 45%, 30%)
HSVhsv(237, 62%, 44%)
CMYKcmyk(62.2%, 59.5%, 0%, 56.5%)
CIE-LABlab(22.00, 20.51, -38.82)
CIE-LCHlch(22.00, 43.91, 297.85°)
OKLaboklab(33.58% 0.0128 -0.1114)
OKLCHoklch(33.58% 0.112 276.6)
XYZxyz(4.7615, 3.5164, 15.4637)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D6F #6F6C2A
analogous
#2A506F #2A2D6F #492A6F
triadic
#2A2D6F #6F2A2D #2D6F2A
tetradic
#2A2D6F #6F2A50 #6F6C2A #2A6F49
square
#2A2D6F #6F2A50 #6F6C2A #2A6F49
split-complementary
#2A2D6F #6F492A #506F2A
monochromatic
#080916 #191B43 #2A2D6F #3B3F9B #5559BF

Accessibility & contrast

On white

12.33
#2A2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2A2D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D6F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D6F#FFFFFF#000000##FFFFFF
##2A2D6F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a2d6f;
/* rgb */ color: rgb(42, 45, 111);
/* oklch */ color: oklch(33.6% 0.112 276.6);
Tailwind
colors: {
  custom: {
    50: '#6b6599',
    500: '#2a2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d6f;
$custom-light: #6b6599;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d6f",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 237.391,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.33578,
    "c": 0.11215,
    "h": 276.6
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#2A2D6F
secondary
#A19E54
accent
#CF53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2A2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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