#2A3BB3#2A3BB3

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

Color values

HEX#2A3BB3
RGBrgb(42, 59, 179)
HSLhsl(233, 62%, 43%)
HSVhsv(233, 77%, 70%)
CMYKcmyk(76.5%, 67%, 0%, 29.8%)
CIE-LABlab(31.52, 36.25, -65.27)
CIE-LCHlch(31.52, 74.66, 299.05°)
OKLaboklab(42.42% -0.001 -0.1889)
OKLCHoklch(42.42% 0.189 269.7)
XYZxyz(10.6527, 6.8737, 43.4044)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BB3 #B3A22A
analogous
#2A7FB3 #2A3BB3 #5D2AB3
triadic
#2A3BB3 #B32A3B #3BB32A
tetradic
#2A3BB3 #B32A7F #B3A22A #2AB35D
square
#2A3BB3 #B32A7F #B3A22A #2AB35D
split-complementary
#2A3BB3 #B35D2A #7FB32A
monochromatic
#131A50 #1E2B81 #2A3BB3 #4658D4 #7885DF

Accessibility & contrast

On white

8.84
#2A3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BB3
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BB3#FFFFFF#000000##FFFFFF
##2A3BB31.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3bb3;
/* rgb */ color: rgb(42, 59, 179);
/* oklch */ color: oklch(42.4% 0.189 269.7);
Tailwind
colors: {
  custom: {
    50: '#7a71cb',
    500: '#2a3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3bb3;
$custom-light: #7a71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3bb3",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 232.555,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.18887,
    "h": 269.7
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#2A3BB3
secondary
#C7BD72
accent
#D143E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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