#2A3CB3#2A3CB3

#2A3CB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.188 H 269.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2A3CB3
RGBrgb(42, 60, 179)
HSLhsl(232, 62%, 43%)
HSVhsv(232, 77%, 70%)
CMYKcmyk(76.5%, 66.5%, 0%, 29.8%)
CIE-LABlab(31.76, 35.62, -64.88)
CIE-LCHlch(31.76, 74.01, 298.77°)
OKLaboklab(42.59% -0.0016 -0.1877)
OKLCHoklch(42.59% 0.188 269.5)
XYZxyz(10.7046, 6.9775, 43.4217)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CB3 #B3A12A
analogous
#2A80B3 #2A3CB3 #5C2AB3
triadic
#2A3CB3 #B32A3C #3CB32A
tetradic
#2A3CB3 #B32A80 #B3A12A #2AB35C
square
#2A3CB3 #B32A80 #B3A12A #2AB35C
split-complementary
#2A3CB3 #B35C2A #80B32A
monochromatic
#131B50 #1E2B81 #2A3CB3 #4659D4 #7886DF

Accessibility & contrast

On white

8.77
#2A3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CB3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CB3#FFFFFF#000000##FFFFFF
##2A3CB31.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3cb3;
/* rgb */ color: rgb(42, 60, 179);
/* oklch */ color: oklch(42.6% 0.188 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a72cb',
    500: '#2a3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cb3;
$custom-light: #7a72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cb3",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 232.117,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.18773,
    "h": 269.5
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#2A3CB3
secondary
#C7BC72
accent
#D043E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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