#2A3AB0#2A3AB0

#2A3AB0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.186 H 269.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2A3AB0
RGBrgb(42, 58, 176)
HSLhsl(233, 61%, 43%)
HSVhsv(233, 76%, 69%)
CMYKcmyk(76.1%, 67%, 0%, 31%)
CIE-LABlab(31.00, 35.80, -64.33)
CIE-LCHlch(31.00, 73.62, 299.10°)
OKLaboklab(41.96% -0.0002 -0.1861)
OKLCHoklch(41.96% 0.186 269.9)
XYZxyz(10.3017, 6.6518, 41.8069)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3AB0 #B0A02A
analogous
#2A7DB0 #2A3AB0 #5D2AB0
triadic
#2A3AB0 #B02A3A #3AB02A
tetradic
#2A3AB0 #B02A7D #B0A02A #2AB05D
square
#2A3AB0 #B02A7D #B0A02A #2AB05D
split-complementary
#2A3AB0 #B05D2A #7DB02A
monochromatic
#12194D #1E2A7F #2A3AB0 #4556D3 #7683DE

Accessibility & contrast

On white

9.01
#2A3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A3AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3AB0
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3AB0#FFFFFF#000000##FFFFFF
##2A3AB01.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3ab0;
/* rgb */ color: rgb(42, 58, 176);
/* oklch */ color: oklch(42.0% 0.186 269.9);
Tailwind
colors: {
  custom: {
    50: '#7970c9',
    500: '#2a3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ab0;
$custom-light: #7970c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ab0",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 232.836,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.18613,
    "h": 269.9
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#2A3AB0
secondary
#C6BC70
accent
#D143E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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