#2A3699#2A3699

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

Color values

HEX#2A3699
RGBrgb(42, 54, 153)
HSLhsl(234, 57%, 38%)
HSVhsv(234, 73%, 60%)
CMYKcmyk(72.5%, 64.7%, 0%, 40%)
CIE-LABlab(27.93, 29.99, -55.49)
CIE-LCHlch(27.93, 63.08, 298.39°)
OKLaboklab(39.06% 0.0038 -0.1603)
OKLCHoklch(39.06% 0.16 271.4)
XYZxyz(8.0218, 5.4297, 30.7561)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3699 #998D2A
analogous
#2A6D99 #2A3699 #562A99
triadic
#2A3699 #992A36 #36992A
tetradic
#2A3699 #992A6D #998D2A #2A9956
square
#2A3699 #992A6D #998D2A #2A9956
split-complementary
#2A3699 #99562A #6D992A
monochromatic
#101439 #1D2569 #2A3699 #3847C8 #6874D6

Accessibility & contrast

On white

10.07
#2A3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3699
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3699#FFFFFF#000000##FFFFFF
##2A36991.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3699;
/* rgb */ color: rgb(42, 54, 153);
/* oklch */ color: oklch(39.1% 0.160 271.4);
Tailwind
colors: {
  custom: {
    50: '#746db8',
    500: '#2a3699',
    950: '#000000',
  },
}
SCSS
$custom: #2a3699;
$custom-light: #746db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3699",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 233.514,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.16034,
    "h": 271.4
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#2A3699
secondary
#BCB263
accent
#D048E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3699

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

Preview Lab → · Contrast checker → · Palette generator →

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