#2A3AB5#2A3AB5

#2A3AB5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.193 H 269.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2A3AB5
RGBrgb(42, 58, 181)
HSLhsl(233, 62%, 44%)
HSVhsv(233, 77%, 71%)
CMYKcmyk(76.8%, 68%, 0%, 29%)
CIE-LABlab(31.47, 37.60, -66.53)
CIE-LCHlch(31.47, 76.42, 299.47°)
OKLaboklab(42.44% -0.0007 -0.1926)
OKLCHoklch(42.44% 0.193 269.8)
XYZxyz(10.8055, 6.8534, 44.4604)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3AB5 #B5A52A
analogous
#2A7FB5 #2A3AB5 #5F2AB5
triadic
#2A3AB5 #B52A3A #3AB52A
tetradic
#2A3AB5 #B52A7F #B5A52A #2AB55F
square
#2A3AB5 #B52A7F #B5A52A #2AB55F
split-complementary
#2A3AB5 #B55F2A #7FB52A
monochromatic
#131A52 #1E2A83 #2A3AB5 #4858D4 #7985E0

Accessibility & contrast

On white

8.86
#2A3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A3AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3AB5
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3AB5#FFFFFF#000000##FFFFFF
##2A3AB51.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3ab5;
/* rgb */ color: rgb(42, 58, 181);
/* oklch */ color: oklch(42.4% 0.193 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a70cc',
    500: '#2a3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ab5;
$custom-light: #7a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ab5",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 233.094,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.19256,
    "h": 269.8
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#2A3AB5
secondary
#C8BE73
accent
#D342E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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