#2A3069#2A3069

#2A3069 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.099 H 275.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2A3069
RGBrgb(42, 48, 105)
HSLhsl(234, 43%, 29%)
HSVhsv(234, 60%, 41%)
CMYKcmyk(60%, 54.3%, 0%, 58.8%)
CIE-LABlab(22.39, 16.20, -34.32)
CIE-LCHlch(22.39, 37.95, 295.28°)
OKLaboklab(33.73% 0.0091 -0.0981)
OKLCHoklch(33.73% 0.099 275.3)
XYZxyz(4.5608, 3.6257, 13.8214)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3069 #69632A
analogous
#2A5069 #2A3069 #442A69
triadic
#2A3069 #692A30 #30692A
tetradic
#2A3069 #692A50 #69632A #2A6944
square
#2A3069 #692A50 #69632A #2A6944
split-complementary
#2A3069 #69442A #50692A
monochromatic
#090A16 #191C3D #2A3069 #3B4495 #535DBA

Accessibility & contrast

On white

12.17
#2A3069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3069
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3069#FFFFFF#000000##FFFFFF
##2A30691.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11386B
Deuteranopia (green-blind)
#063368
Tritanopia (blue-blind)
#053D47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3069;
/* rgb */ color: rgb(42, 48, 105);
/* oklch */ color: oklch(33.7% 0.099 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a6894',
    500: '#2a3069',
    950: '#000000',
  },
}
SCSS
$custom: #2a3069;
$custom-light: #6a6894;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3069",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 105
  },
  "hsl": {
    "h": 234.286,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33725,
    "c": 0.09855,
    "h": 275.3
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#2A3069
secondary
#9B9454
accent
#C755D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A3069

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

Preview Lab → · Contrast checker → · Palette generator →

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