#2A3694#2A3694

#2A3694 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.153 H 271.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2A3694
RGBrgb(42, 54, 148)
HSLhsl(233, 56%, 37%)
HSVhsv(233, 72%, 58%)
CMYKcmyk(71.6%, 63.5%, 0%, 42%)
CIE-LABlab(27.48, 28.14, -53.15)
CIE-LCHlch(27.48, 60.14, 297.90°)
OKLaboklab(38.6% 0.0041 -0.1534)
OKLCHoklch(38.6% 0.153 271.5)
XYZxyz(7.6175, 5.2679, 28.6266)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3694 #94882A
analogous
#2A6B94 #2A3694 #532A94
triadic
#2A3694 #942A36 #36942A
tetradic
#2A3694 #942A6B #94882A #2A9453
square
#2A3694 #942A6B #94882A #2A9453
split-complementary
#2A3694 #94532A #6B942A
monochromatic
#0F1335 #1C2564 #2A3694 #3847C4 #6572D3

Accessibility & contrast

On white

10.22
#2A3694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A3694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3694
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3694#FFFFFF#000000##FFFFFF
##2A36941.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3694;
/* rgb */ color: rgb(42, 54, 148);
/* oklch */ color: oklch(38.6% 0.153 271.5);
Tailwind
colors: {
  custom: {
    50: '#736db4',
    500: '#2a3694',
    950: '#000000',
  },
}
SCSS
$custom: #2a3694;
$custom-light: #736db4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3694",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 233.208,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.15348,
    "h": 271.5
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#2A3694
secondary
#B9AF60
accent
#CE49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3694

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

Preview Lab → · Contrast checker → · Palette generator →

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