#2A3FA9#2A3FA9

#2A3FA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.171 H 269.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2A3FA9
RGBrgb(42, 63, 169)
HSLhsl(230, 60%, 41%)
HSVhsv(230, 75%, 66%)
CMYKcmyk(75.1%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.60, 30.00, -59.16)
CIE-LCHlch(31.60, 66.33, 296.89°)
OKLaboklab(42.21% -0.003 -0.1709)
OKLCHoklch(42.21% 0.171 269)
XYZxyz(9.8913, 6.9108, 38.3410)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FA9 #A9942A
analogous
#2A7FA9 #2A3FA9 #552AA9
triadic
#2A3FA9 #A92A3F #3FA92A
tetradic
#2A3FA9 #A92A7F #A9942A #2AA955
square
#2A3FA9 #A92A7F #A9942A #2AA955
split-complementary
#2A3FA9 #A9552A #7FA92A
monochromatic
#121A47 #1E2D78 #2A3FA9 #4158D0 #7283DC

Accessibility & contrast

On white

8.81
#2A3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A3FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FA9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FA9#FFFFFF#000000##FFFFFF
##2A3FA91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3fa9;
/* rgb */ color: rgb(42, 63, 169);
/* oklch */ color: oklch(42.2% 0.171 269.0);
Tailwind
colors: {
  custom: {
    50: '#7774c3',
    500: '#2a3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fa9;
$custom-light: #7774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fa9",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 230.079,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42207,
    "c": 0.17098,
    "h": 269
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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