#2A3169#2A3169

#2A3169 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.097 H 274.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2A3169
RGBrgb(42, 49, 105)
HSLhsl(233, 43%, 29%)
HSVhsv(233, 60%, 41%)
CMYKcmyk(60%, 53.3%, 0%, 58.8%)
CIE-LABlab(22.68, 15.50, -33.85)
CIE-LCHlch(22.68, 37.23, 294.60°)
OKLaboklab(33.94% 0.0079 -0.0967)
OKLCHoklch(33.94% 0.097 274.7)
XYZxyz(4.6021, 3.7085, 13.8352)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3169 #69622A
analogous
#2A5169 #2A3169 #432A69
triadic
#2A3169 #692A31 #31692A
tetradic
#2A3169 #692A51 #69622A #2A6943
square
#2A3169 #692A51 #69622A #2A6943
split-complementary
#2A3169 #69432A #51692A
monochromatic
#090A16 #191D3D #2A3169 #3B4595 #535FBA

Accessibility & contrast

On white

12.06
#2A3169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A3169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3169
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3169#FFFFFF#000000##FFFFFF
##2A31691.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14396B
Deuteranopia (green-blind)
#093468
Tritanopia (blue-blind)
#053E48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3169;
/* rgb */ color: rgb(42, 49, 105);
/* oklch */ color: oklch(33.9% 0.097 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a6894',
    500: '#2a3169',
    950: '#000000',
  },
}
SCSS
$custom: #2a3169;
$custom-light: #6a6894;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3169",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 105
  },
  "hsl": {
    "h": 233.333,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33943,
    "c": 0.09707,
    "h": 274.7
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#2A3169
secondary
#9B9354
accent
#C555D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A3169

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

Preview Lab → · Contrast checker → · Palette generator →

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