#2A3CA8#2A3CA8

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

Color values

HEX#2A3CA8
RGBrgb(42, 60, 168)
HSLhsl(231, 60%, 41%)
HSVhsv(231, 75%, 66%)
CMYKcmyk(75%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.76, 31.59, -59.94)
CIE-LCHlch(30.76, 67.75, 297.79°)
OKLaboklab(41.56% -0.001 -0.1733)
OKLCHoklch(41.56% 0.173 269.7)
XYZxyz(9.6362, 6.5501, 37.7946)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA8 #A8962A
analogous
#2A7BA8 #2A3CA8 #572AA8
triadic
#2A3CA8 #A82A3C #3CA82A
tetradic
#2A3CA8 #A82A7B #A8962A #2AA857
square
#2A3CA8 #A82A7B #A8962A #2AA857
split-complementary
#2A3CA8 #A8572A #7BA82A
monochromatic
#121946 #1E2B77 #2A3CA8 #4054CF #7180DB

Accessibility & contrast

On white

9.09
#2A3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A3CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA8
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA8#FFFFFF#000000##FFFFFF
##2A3CA81.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ca8;
/* rgb */ color: rgb(42, 60, 168);
/* oklch */ color: oklch(41.6% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#7771c3',
    500: '#2a3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca8;
$custom-light: #7771c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca8",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 231.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.17326,
    "h": 269.7
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#2A3CA8
secondary
#C3B66B
accent
#CD45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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