#2A3AB8#2A3AB8

#2A3AB8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.196 H 269.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2A3AB8
RGBrgb(42, 58, 184)
HSLhsl(233, 63%, 44%)
HSVhsv(233, 77%, 72%)
CMYKcmyk(77.2%, 68.5%, 0%, 27.8%)
CIE-LABlab(31.76, 38.67, -67.84)
CIE-LCHlch(31.76, 78.09, 299.69°)
OKLaboklab(42.74% -0.0009 -0.1964)
OKLCHoklch(42.74% 0.196 269.7)
XYZxyz(11.1167, 6.9778, 46.0991)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3AB8 #B8A82A
analogous
#2A81B8 #2A3AB8 #612AB8
triadic
#2A3AB8 #B82A3A #3AB82A
tetradic
#2A3AB8 #B82A81 #B8A82A #2AB861
square
#2A3AB8 #B82A81 #B8A82A #2AB861
split-complementary
#2A3AB8 #B8612A #81B82A
monochromatic
#131B54 #1F2A86 #2A3AB8 #4A59D6 #7B87E1

Accessibility & contrast

On white

8.77
#2A3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3AB8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3AB8#FFFFFF#000000##FFFFFF
##2A3AB81.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.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: #2a3ab8;
/* rgb */ color: rgb(42, 58, 184);
/* oklch */ color: oklch(42.7% 0.196 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2a3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ab8;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ab8",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 233.239,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42736,
    "c": 0.19638,
    "h": 269.7
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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