#2A3FB7#2A3FB7

#2A3FB7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.189 H 268.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2A3FB7
RGBrgb(42, 63, 183)
HSLhsl(231, 63%, 44%)
HSVhsv(231, 77%, 72%)
CMYKcmyk(77%, 65.6%, 0%, 28.2%)
CIE-LABlab(32.84, 35.16, -65.46)
CIE-LCHlch(32.84, 74.31, 298.24°)
OKLaboklab(43.5% -0.0036 -0.1894)
OKLCHoklch(43.5% 0.189 268.9)
XYZxyz(11.2766, 7.4649, 45.6371)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FB7 #B7A22A
analogous
#2A86B7 #2A3FB7 #5C2AB7
triadic
#2A3FB7 #B72A3F #3FB72A
tetradic
#2A3FB7 #B72A86 #B7A22A #2AB75C
square
#2A3FB7 #B72A86 #B7A22A #2AB75C
split-complementary
#2A3FB7 #B75C2A #86B72A
monochromatic
#131D53 #1F2E85 #2A3FB7 #495ED5 #7B8AE1

Accessibility & contrast

On white

8.42
#2A3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FB7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FB7#FFFFFF#000000##FFFFFF
##2A3FB71.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a3fb7;
/* rgb */ color: rgb(42, 63, 183);
/* oklch */ color: oklch(43.5% 0.189 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a74ce',
    500: '#2a3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fb7;
$custom-light: #7a74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fb7",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 231.064,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.435,
    "c": 0.18945,
    "h": 268.9
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#2A3FB7
secondary
#C9BC74
accent
#CD42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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