#2A3FB5#2A3FB5

#2A3FB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.187 H 268.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2A3FB5
RGBrgb(42, 63, 181)
HSLhsl(231, 62%, 44%)
HSVhsv(231, 77%, 71%)
CMYKcmyk(76.8%, 65.2%, 0%, 29%)
CIE-LABlab(32.66, 34.43, -64.58)
CIE-LCHlch(32.66, 73.18, 298.06°)
OKLaboklab(43.31% -0.0034 -0.1868)
OKLCHoklch(43.31% 0.187 268.9)
XYZxyz(11.0700, 7.3822, 44.5486)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FB5 #B5A02A
analogous
#2A84B5 #2A3FB5 #5A2AB5
triadic
#2A3FB5 #B52A3F #3FB52A
tetradic
#2A3FB5 #B52A84 #B5A02A #2AB55A
square
#2A3FB5 #B52A84 #B5A02A #2AB55A
split-complementary
#2A3FB5 #B55A2A #84B52A
monochromatic
#131C52 #1E2E83 #2A3FB5 #485DD4 #7989E0

Accessibility & contrast

On white

8.48
#2A3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FB5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FB5#FFFFFF#000000##FFFFFF
##2A3FB51.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a3fb5;
/* rgb */ color: rgb(42, 63, 181);
/* oklch */ color: oklch(43.3% 0.187 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a74cc',
    500: '#2a3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fb5;
$custom-light: #7a74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fb5",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 230.935,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.18685,
    "h": 268.9
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#2A3FB5
secondary
#C8BB73
accent
#CD42E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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