#2A3CB7#2A3CB7

#2A3CB7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.193 H 269.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2A3CB7
RGBrgb(42, 60, 183)
HSLhsl(232, 63%, 44%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(77%, 67.2%, 0%, 28.2%)
CIE-LABlab(32.13, 37.06, -66.64)
CIE-LCHlch(32.13, 76.25, 299.08°)
OKLaboklab(42.98% -0.0019 -0.1929)
OKLCHoklch(42.98% 0.193 269.4)
XYZxyz(11.1150, 7.1416, 45.5832)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CB7 #B7A52A
analogous
#2A83B7 #2A3CB7 #5E2AB7
triadic
#2A3CB7 #B72A3C #3CB72A
tetradic
#2A3CB7 #B72A83 #B7A52A #2AB75E
square
#2A3CB7 #B72A83 #B7A52A #2AB75E
split-complementary
#2A3CB7 #B75E2A #83B72A
monochromatic
#131B53 #1F2C85 #2A3CB7 #495BD5 #7B88E1

Accessibility & contrast

On white

8.65
#2A3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CB7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CB7#FFFFFF#000000##FFFFFF
##2A3CB71.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3cb7;
/* rgb */ color: rgb(42, 60, 183);
/* oklch */ color: oklch(43.0% 0.193 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b72ce',
    500: '#2a3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cb7;
$custom-light: #7b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cb7",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 232.34,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.19288,
    "h": 269.4
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#2A3CB7
secondary
#C9BE74
accent
#D142E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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