#2A3BB5#2A3BB5

#2A3BB5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.191 H 269.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2A3BB5
RGBrgb(42, 59, 181)
HSLhsl(233, 62%, 44%)
HSVhsv(233, 77%, 71%)
CMYKcmyk(76.8%, 67.4%, 0%, 29%)
CIE-LABlab(31.70, 36.97, -66.15)
CIE-LCHlch(31.70, 75.78, 299.20°)
OKLaboklab(42.61% -0.0012 -0.1914)
OKLCHoklch(42.61% 0.191 269.6)
XYZxyz(10.8564, 6.9552, 44.4774)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BB5 #B5A42A
analogous
#2A80B5 #2A3BB5 #5E2AB5
triadic
#2A3BB5 #B52A3B #3BB52A
tetradic
#2A3BB5 #B52A80 #B5A42A #2AB55E
square
#2A3BB5 #B52A80 #B5A42A #2AB55E
split-complementary
#2A3BB5 #B55E2A #80B52A
monochromatic
#131B52 #1E2B83 #2A3BB5 #4859D4 #7986E0

Accessibility & contrast

On white

8.78
#2A3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BB5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BB5#FFFFFF#000000##FFFFFF
##2A3BB51.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3bb5;
/* rgb */ color: rgb(42, 59, 181);
/* oklch */ color: oklch(42.6% 0.191 269.6);
Tailwind
colors: {
  custom: {
    50: '#7a71cc',
    500: '#2a3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3bb5;
$custom-light: #7a71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3bb5",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 232.662,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42613,
    "c": 0.19144,
    "h": 269.6
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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