#2A3895#2A3895

#2A3895 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.152 H 270.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2A3895
RGBrgb(42, 56, 149)
HSLhsl(232, 56%, 37%)
HSVhsv(232, 72%, 58%)
CMYKcmyk(71.8%, 62.4%, 0%, 41.6%)
CIE-LABlab(28.09, 27.18, -52.78)
CIE-LCHlch(28.09, 59.37, 297.24°)
OKLaboklab(39.07% 0.0025 -0.1523)
OKLCHoklch(39.07% 0.152 270.9)
XYZxyz(7.7920, 5.4897, 29.0769)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3895 #95872A
analogous
#2A6D95 #2A3895 #522A95
triadic
#2A3895 #952A38 #38952A
tetradic
#2A3895 #952A6D #95872A #2A9552
square
#2A3895 #952A6D #95872A #2A9552
split-complementary
#2A3895 #95522A #6D952A
monochromatic
#0F1436 #1D2665 #2A3895 #374AC5 #6674D4

Accessibility & contrast

On white

10.01
#2A3895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A3895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3895
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3895#FFFFFF#000000##FFFFFF
##2A38951.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3895;
/* rgb */ color: rgb(42, 56, 149);
/* oklch */ color: oklch(39.1% 0.152 270.9);
Tailwind
colors: {
  custom: {
    50: '#736eb5',
    500: '#2a3895',
    950: '#000000',
  },
}
SCSS
$custom: #2a3895;
$custom-light: #736eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3895",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 149
  },
  "hsl": {
    "h": 232.15,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.15234,
    "h": 270.9
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#2A3895
secondary
#BAAE61
accent
#CC48DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3895

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

Preview Lab → · Contrast checker → · Palette generator →

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