#2A3CA5#2A3CA5

#2A3CA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.169 H 269.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2A3CA5
RGBrgb(42, 60, 165)
HSLhsl(231, 59%, 41%)
HSVhsv(231, 75%, 65%)
CMYKcmyk(74.5%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.50, 30.48, -58.57)
CIE-LCHlch(30.50, 66.02, 297.50°)
OKLaboklab(41.28% -0.0009 -0.1693)
OKLCHoklch(41.28% 0.169 269.7)
XYZxyz(9.3599, 6.4396, 36.3397)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA5 #A5932A
analogous
#2A79A5 #2A3CA5 #562AA5
triadic
#2A3CA5 #A52A3C #3CA52A
tetradic
#2A3CA5 #A52A79 #A5932A #2AA556
square
#2A3CA5 #A52A79 #A5932A #2AA556
split-complementary
#2A3CA5 #A5562A #79A52A
monochromatic
#111943 #1E2A74 #2A3CA5 #3E53CE #6F7FDA

Accessibility & contrast

On white

9.18
#2A3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA5
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA5#FFFFFF#000000##FFFFFF
##2A3CA51.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ca5;
/* rgb */ color: rgb(42, 60, 165);
/* oklch */ color: oklch(41.3% 0.169 269.7);
Tailwind
colors: {
  custom: {
    50: '#7671c1',
    500: '#2a3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca5;
$custom-light: #7671c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca5",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 231.22,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.16925,
    "h": 269.7
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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