#2A3BB9#2A3BB9

#2A3BB9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.197 H 269.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2A3BB9
RGBrgb(42, 59, 185)
HSLhsl(233, 63%, 45%)
HSVhsv(233, 77%, 73%)
CMYKcmyk(77.3%, 68.1%, 0%, 27.5%)
CIE-LABlab(32.08, 38.41, -67.90)
CIE-LCHlch(32.08, 78.01, 299.50°)
OKLaboklab(43% -0.0015 -0.1965)
OKLCHoklch(43% 0.197 269.6)
XYZxyz(11.2728, 7.1217, 46.6700)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BB9 #B9A82A
analogous
#2A83B9 #2A3BB9 #602AB9
triadic
#2A3BB9 #B92A3B #3BB92A
tetradic
#2A3BB9 #B92A83 #B9A82A #2AB960
square
#2A3BB9 #B92A83 #B9A82A #2AB960
split-complementary
#2A3BB9 #B9602A #83B92A
monochromatic
#131B55 #1F2B87 #2A3BB9 #4A5BD6 #7C88E1

Accessibility & contrast

On white

8.66
#2A3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BB9
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BB9#FFFFFF#000000##FFFFFF
##2A3BB91.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3bb9;
/* rgb */ color: rgb(42, 59, 185);
/* oklch */ color: oklch(43.0% 0.197 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b71cf',
    500: '#2a3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3bb9;
$custom-light: #7b71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3bb9",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 232.867,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.19655,
    "h": 269.6
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#2A3BB9
secondary
#CAC075
accent
#D342E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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