#2A3690#2A3690

#2A3690 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.148 H 271.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2A3690
RGBrgb(42, 54, 144)
HSLhsl(233, 55%, 36%)
HSVhsv(233, 71%, 56%)
CMYKcmyk(70.8%, 62.5%, 0%, 43.5%)
CIE-LABlab(27.14, 26.65, -51.25)
CIE-LCHlch(27.14, 57.77, 297.47°)
OKLaboklab(38.24% 0.0042 -0.1479)
OKLCHoklch(38.24% 0.148 271.6)
XYZxyz(7.3064, 5.1435, 26.9879)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3690 #90842A
analogous
#2A6990 #2A3690 #512A90
triadic
#2A3690 #902A36 #36902A
tetradic
#2A3690 #902A69 #90842A #2A9051
square
#2A3690 #902A69 #90842A #2A9051
split-complementary
#2A3690 #90512A #69902A
monochromatic
#0E1231 #1C2461 #2A3690 #3848BF #6370D1

Accessibility & contrast

On white

10.35
#2A3690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A3690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3690
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3690#FFFFFF#000000##FFFFFF
##2A36901.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a3690;
/* rgb */ color: rgb(42, 54, 144);
/* oklch */ color: oklch(38.2% 0.148 271.6);
Tailwind
colors: {
  custom: {
    50: '#726db1',
    500: '#2a3690',
    950: '#000000',
  },
}
SCSS
$custom: #2a3690;
$custom-light: #726db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3690",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 232.941,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.14792,
    "h": 271.6
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#2A3690
secondary
#B7AD5E
accent
#CD4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3690

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

Preview Lab → · Contrast checker → · Palette generator →

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