#2A3697#2A3697

#2A3697 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.158 H 271.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2A3697
RGBrgb(42, 54, 151)
HSLhsl(233, 56%, 38%)
HSVhsv(233, 72%, 59%)
CMYKcmyk(72.2%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.75, 29.25, -54.56)
CIE-LCHlch(27.75, 61.91, 298.20°)
OKLaboklab(38.88% 0.0039 -0.1576)
OKLCHoklch(38.88% 0.158 271.4)
XYZxyz(7.8580, 5.3642, 29.8934)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3697 #978B2A
analogous
#2A6D97 #2A3697 #542A97
triadic
#2A3697 #972A36 #36972A
tetradic
#2A3697 #972A6D #978B2A #2A9754
square
#2A3697 #972A6D #978B2A #2A9754
split-complementary
#2A3697 #97542A #6D972A
monochromatic
#0F1437 #1D2567 #2A3697 #3747C7 #6773D5

Accessibility & contrast

On white

10.13
#2A3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3697
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3697#FFFFFF#000000##FFFFFF
##2A36971.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3697;
/* rgb */ color: rgb(42, 54, 151);
/* oklch */ color: oklch(38.9% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#736db6',
    500: '#2a3697',
    950: '#000000',
  },
}
SCSS
$custom: #2a3697;
$custom-light: #736db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3697",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 233.394,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.15761,
    "h": 271.4
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#2A3697
secondary
#BBB162
accent
#CF48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3697

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

Preview Lab → · Contrast checker → · Palette generator →

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