#2A3FB0#2A3FB0

#2A3FB0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.180 H 269.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A3FB0
RGBrgb(42, 63, 176)
HSLhsl(231, 61%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(76.1%, 64.2%, 0%, 31%)
CIE-LABlab(32.21, 32.59, -62.34)
CIE-LCHlch(32.21, 70.34, 297.60°)
OKLaboklab(42.85% -0.0032 -0.1803)
OKLCHoklch(42.85% 0.18 269)
XYZxyz(10.5661, 7.1807, 41.8950)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FB0 #B09B2A
analogous
#2A82B0 #2A3FB0 #582AB0
triadic
#2A3FB0 #B02A3F #3FB02A
tetradic
#2A3FB0 #B02A82 #B09B2A #2AB058
square
#2A3FB0 #B02A82 #B09B2A #2AB058
split-complementary
#2A3FB0 #B0582A #82B02A
monochromatic
#121C4D #1E2D7F #2A3FB0 #455BD3 #7686DE

Accessibility & contrast

On white

8.62
#2A3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A3FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FB0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FB0#FFFFFF#000000##FFFFFF
##2A3FB01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3fb0;
/* rgb */ color: rgb(42, 63, 176);
/* oklch */ color: oklch(42.8% 0.180 269.0);
Tailwind
colors: {
  custom: {
    50: '#7974c9',
    500: '#2a3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fb0;
$custom-light: #7974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fb0",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 230.597,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.1803,
    "h": 269
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#2A3FB0
secondary
#C6B870
accent
#CB43E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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