#2A3FB3#2A3FB3

#2A3FB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.184 H 269.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2A3FB3
RGBrgb(42, 63, 179)
HSLhsl(231, 62%, 43%)
HSVhsv(231, 77%, 70%)
CMYKcmyk(76.5%, 64.8%, 0%, 29.8%)
CIE-LABlab(32.48, 33.70, -63.68)
CIE-LCHlch(32.48, 72.05, 297.88°)
OKLaboklab(43.13% -0.0034 -0.1842)
OKLCHoklch(43.13% 0.184 269)
XYZxyz(10.8662, 7.3007, 43.4756)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FB3 #B39E2A
analogous
#2A83B3 #2A3FB3 #592AB3
triadic
#2A3FB3 #B32A3F #3FB32A
tetradic
#2A3FB3 #B32A83 #B39E2A #2AB359
square
#2A3FB3 #B32A83 #B39E2A #2AB359
split-complementary
#2A3FB3 #B3592A #83B32A
monochromatic
#131C50 #1E2E81 #2A3FB3 #465CD4 #7888DF

Accessibility & contrast

On white

8.54
#2A3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A3FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FB3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FB3#FFFFFF#000000##FFFFFF
##2A3FB31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3fb3;
/* rgb */ color: rgb(42, 63, 179);
/* oklch */ color: oklch(43.1% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#7974cb',
    500: '#2a3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fb3;
$custom-light: #7974cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fb3",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 230.803,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.18424,
    "h": 269
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#2A3FB3
secondary
#C7BA72
accent
#CC43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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