#2A3CB0#2A3CB0

#2A3CB0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.184 H 269.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2A3CB0
RGBrgb(42, 60, 176)
HSLhsl(232, 61%, 43%)
HSVhsv(232, 76%, 69%)
CMYKcmyk(76.1%, 65.9%, 0%, 31%)
CIE-LABlab(31.48, 34.53, -63.54)
CIE-LCHlch(31.48, 72.32, 298.52°)
OKLaboklab(42.31% -0.0014 -0.1838)
OKLCHoklch(42.31% 0.184 269.6)
XYZxyz(10.4045, 6.8574, 41.8411)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CB0 #B09E2A
analogous
#2A7FB0 #2A3CB0 #5B2AB0
triadic
#2A3CB0 #B02A3C #3CB02A
tetradic
#2A3CB0 #B02A7F #B09E2A #2AB05B
square
#2A3CB0 #B02A7F #B09E2A #2AB05B
split-complementary
#2A3CB0 #B05B2A #7FB02A
monochromatic
#121A4D #1E2B7F #2A3CB0 #4558D3 #7684DE

Accessibility & contrast

On white

8.85
#2A3CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A3CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CB0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CB0#FFFFFF#000000##FFFFFF
##2A3CB01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3cb0;
/* rgb */ color: rgb(42, 60, 176);
/* oklch */ color: oklch(42.3% 0.184 269.6);
Tailwind
colors: {
  custom: {
    50: '#7972c9',
    500: '#2a3cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cb0;
$custom-light: #7972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cb0",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 231.94,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.18383,
    "h": 269.6
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#2A3CB0
secondary
#C6BA70
accent
#CF43E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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