#2A3FC6#2A3FC6

#2A3FC6 is a dark, highly saturated blue. Relative luminance 0.081; OKLCH L 44.9% C 0.209 H 268.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2A3FC6
RGBrgb(42, 63, 198)
HSLhsl(232, 65%, 47%)
HSVhsv(232, 79%, 78%)
CMYKcmyk(78.8%, 68.2%, 0%, 22.4%)
CIE-LABlab(34.24, 40.56, -71.99)
CIE-LCHlch(34.24, 82.63, 299.40°)
OKLaboklab(44.94% -0.0046 -0.2085)
OKLCHoklch(44.94% 0.209 268.7)
XYZxyz(12.9219, 8.1230, 54.3020)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FC6 #C6B12A
analogous
#2A8DC6 #2A3FC6 #632AC6
triadic
#2A3FC6 #C62A3F #3FC62A
tetradic
#2A3FC6 #C62A8D #C6B12A #2AC663
square
#2A3FC6 #C62A8D #C6B12A #2AC663
split-complementary
#2A3FC6 #C6632A #8DC62A
monochromatic
#151F61 #1F2F94 #2A3FC6 #5365DA #8592E5

Accessibility & contrast

On white

8.00
#2A3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3FC6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FC6#FFFFFF#000000##FFFFFF
##2A3FC61.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3fc6;
/* rgb */ color: rgb(42, 63, 198);
/* oklch */ color: oklch(44.9% 0.209 268.7);
Tailwind
colors: {
  custom: {
    50: '#7e74d8',
    500: '#2a3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fc6;
$custom-light: #7e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fc6",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 231.923,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.20853,
    "h": 268.7
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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