#2A3FAA#2A3FAA

#2A3FAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.172 H 269.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2A3FAA
RGBrgb(42, 63, 170)
HSLhsl(230, 60%, 42%)
HSVhsv(230, 75%, 67%)
CMYKcmyk(75.3%, 62.9%, 0%, 33.3%)
CIE-LABlab(31.69, 30.37, -59.62)
CIE-LCHlch(31.69, 66.91, 297.00°)
OKLaboklab(42.3% -0.003 -0.1723)
OKLCHoklch(42.3% 0.172 269)
XYZxyz(9.9855, 6.9485, 38.8373)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FAA #AA952A
analogous
#2A7FAA #2A3FAA #552AAA
triadic
#2A3FAA #AA2A3F #3FAA2A
tetradic
#2A3FAA #AA2A7F #AA952A #2AAA55
square
#2A3FAA #AA2A7F #AA952A #2AAA55
split-complementary
#2A3FAA #AA552A #7FAA2A
monochromatic
#121B48 #1E2D79 #2A3FAA #4159D0 #7284DC

Accessibility & contrast

On white

8.79
#2A3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FAA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FAA#FFFFFF#000000##FFFFFF
##2A3FAA1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3faa;
/* rgb */ color: rgb(42, 63, 170);
/* oklch */ color: oklch(42.3% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#7774c4',
    500: '#2a3faa',
    950: '#000000',
  },
}
SCSS
$custom: #2a3faa;
$custom-light: #7774c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3faa",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 230.156,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.17232,
    "h": 269
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#2A3FAA
secondary
#C3B56C
accent
#C944E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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