#2A3FC5#2A3FC5

#2A3FC5 is a dark, highly saturated blue. Relative luminance 0.081; OKLCH L 44.8% C 0.207 H 268.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2A3FC5
RGBrgb(42, 63, 197)
HSLhsl(232, 65%, 47%)
HSVhsv(232, 79%, 77%)
CMYKcmyk(78.7%, 68%, 0%, 22.7%)
CIE-LABlab(34.14, 40.20, -71.56)
CIE-LCHlch(34.14, 82.08, 299.33°)
OKLaboklab(44.84% -0.0045 -0.2072)
OKLCHoklch(44.84% 0.207 268.8)
XYZxyz(12.8069, 8.0770, 53.6965)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FC5 #C5B02A
analogous
#2A8DC5 #2A3FC5 #632AC5
triadic
#2A3FC5 #C52A3F #3FC52A
tetradic
#2A3FC5 #C52A8D #C5B02A #2AC563
square
#2A3FC5 #C52A8D #C5B02A #2AC563
split-complementary
#2A3FC5 #C5632A #8DC52A
monochromatic
#141F60 #1F2F93 #2A3FC5 #5265DA #8592E5

Accessibility & contrast

On white

8.03
#2A3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A3FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FC5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FC5#FFFFFF#000000##FFFFFF
##2A3FC51.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a3fc5;
/* rgb */ color: rgb(42, 63, 197);
/* oklch */ color: oklch(44.8% 0.207 268.8);
Tailwind
colors: {
  custom: {
    50: '#7e74d8',
    500: '#2a3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fc5;
$custom-light: #7e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fc5",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 231.871,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.20728,
    "h": 268.8
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#2A3FC5
secondary
#CEC37D
accent
#D140E8
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2A3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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