#2D2A68#2D2A68

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

Color values

HEX#2D2A68
RGBrgb(45, 42, 104)
HSLhsl(243, 42%, 29%)
HSVhsv(243, 60%, 41%)
CMYKcmyk(56.7%, 59.6%, 0%, 59.2%)
CIE-LABlab(20.88, 20.69, -36.10)
CIE-LCHlch(20.88, 41.61, 299.81°)
OKLaboklab(32.63% 0.0201 -0.1033)
OKLCHoklch(32.63% 0.105 281)
XYZxyz(4.4081, 3.2130, 13.4819)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A68 #65682A
analogous
#2A4668 #2D2A68 #4C2A68
triadic
#2D2A68 #682D2A #2A682D
tetradic
#2D2A68 #682A46 #65682A #2A684C
square
#2D2A68 #682A46 #65682A #2A684C
split-complementary
#2D2A68 #684C2A #46682A
monochromatic
#090916 #1A183C #2D2A68 #403C94 #5853B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2A68#FFFFFF#000000##FFFFFF
##2D2A681.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)
#00346A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#133844
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2a68;
/* rgb */ color: rgb(45, 42, 104);
/* oklch */ color: oklch(32.6% 0.105 281.0);
Tailwind
colors: {
  custom: {
    50: '#6c6394',
    500: '#2d2a68',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a68;
$custom-light: #6c6394;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a68",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 242.903,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32629,
    "c": 0.10528,
    "h": 281
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#2D2A68
secondary
#979A54
accent
#D256CC
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2D2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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