#2A3CA7#2A3CA7

#2A3CA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.172 H 269.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2A3CA7
RGBrgb(42, 60, 167)
HSLhsl(231, 60%, 41%)
HSVhsv(231, 75%, 65%)
CMYKcmyk(74.9%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.67, 31.22, -59.48)
CIE-LCHlch(30.67, 67.18, 297.70°)
OKLaboklab(41.47% -0.0009 -0.1719)
OKLCHoklch(41.47% 0.172 269.7)
XYZxyz(9.5434, 6.5130, 37.3059)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA7 #A7952A
analogous
#2A7AA7 #2A3CA7 #562AA7
triadic
#2A3CA7 #A72A3C #3CA72A
tetradic
#2A3CA7 #A72A7A #A7952A #2AA756
square
#2A3CA7 #A72A7A #A7952A #2AA756
split-complementary
#2A3CA7 #A7562A #7AA72A
monochromatic
#111945 #1E2A76 #2A3CA7 #3F54CF #7080DB

Accessibility & contrast

On white

9.12
#2A3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA7
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA7#FFFFFF#000000##FFFFFF
##2A3CA71.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ca7;
/* rgb */ color: rgb(42, 60, 167);
/* oklch */ color: oklch(41.5% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#7771c2',
    500: '#2a3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca7;
$custom-light: #7771c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca7",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 231.36,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.17193,
    "h": 269.7
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#2A3CA7
secondary
#C2B66B
accent
#CC45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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