#2A3CA9#2A3CA9

#2A3CA9 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.175 H 269.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2A3CA9
RGBrgb(42, 60, 169)
HSLhsl(231, 60%, 41%)
HSVhsv(231, 75%, 66%)
CMYKcmyk(75.1%, 64.5%, 0%, 33.7%)
CIE-LABlab(30.85, 31.96, -60.39)
CIE-LCHlch(30.85, 68.33, 297.89°)
OKLaboklab(41.65% -0.001 -0.1746)
OKLCHoklch(41.65% 0.175 269.7)
XYZxyz(9.7297, 6.5875, 38.2872)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA9 #A9972A
analogous
#2A7CA9 #2A3CA9 #582AA9
triadic
#2A3CA9 #A92A3C #3CA92A
tetradic
#2A3CA9 #A92A7C #A9972A #2AA958
square
#2A3CA9 #A92A7C #A9972A #2AA958
split-complementary
#2A3CA9 #A9582A #7CA92A
monochromatic
#121947 #1E2B78 #2A3CA9 #4155D0 #7281DC

Accessibility & contrast

On white

9.06
#2A3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A3CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA9
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA9#FFFFFF#000000##FFFFFF
##2A3CA91.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3ca9;
/* rgb */ color: rgb(42, 60, 169);
/* oklch */ color: oklch(41.7% 0.175 269.7);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#2a3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca9;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca9",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 231.496,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41651,
    "c": 0.1746,
    "h": 269.7
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#2A3CA9
secondary
#C3B76C
accent
#CD44E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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