#2A3BB8#2A3BB8

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

Color values

HEX#2A3BB8
RGBrgb(42, 59, 184)
HSLhsl(233, 63%, 44%)
HSVhsv(233, 77%, 72%)
CMYKcmyk(77.2%, 67.9%, 0%, 27.8%)
CIE-LABlab(31.99, 38.05, -67.46)
CIE-LCHlch(31.99, 77.45, 299.43°)
OKLaboklab(42.9% -0.0014 -0.1953)
OKLCHoklch(42.9% 0.195 269.6)
XYZxyz(11.1676, 7.0796, 46.1160)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BB8 #B8A72A
analogous
#2A82B8 #2A3BB8 #602AB8
triadic
#2A3BB8 #B82A3B #3BB82A
tetradic
#2A3BB8 #B82A82 #B8A72A #2AB860
square
#2A3BB8 #B82A82 #B8A72A #2AB860
split-complementary
#2A3BB8 #B8602A #82B82A
monochromatic
#131B54 #1F2B86 #2A3BB8 #4A5AD6 #7B88E1

Accessibility & contrast

On white

8.69
#2A3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3BB8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BB8#FFFFFF#000000##FFFFFF
##2A3BB81.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3bb8;
/* rgb */ color: rgb(42, 59, 184);
/* oklch */ color: oklch(42.9% 0.195 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b71ce',
    500: '#2a3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3bb8;
$custom-light: #7b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3bb8",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 232.817,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.19528,
    "h": 269.6
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#2A3BB8
secondary
#C9BF75
accent
#D242E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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