#2A3DB3#2A3DB3

#2A3DB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.187 H 269.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2A3DB3
RGBrgb(42, 61, 179)
HSLhsl(232, 62%, 43%)
HSVhsv(232, 77%, 70%)
CMYKcmyk(76.5%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.00, 34.98, -64.48)
CIE-LCHlch(32.00, 73.36, 298.48°)
OKLaboklab(42.77% -0.0022 -0.1866)
OKLCHoklch(42.77% 0.187 269.3)
XYZxyz(10.7575, 7.0832, 43.4393)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DB3 #B3A02A
analogous
#2A81B3 #2A3DB3 #5B2AB3
triadic
#2A3DB3 #B32A3D #3DB32A
tetradic
#2A3DB3 #B32A81 #B3A02A #2AB35B
square
#2A3DB3 #B32A81 #B3A02A #2AB35B
split-complementary
#2A3DB3 #B35B2A #81B32A
monochromatic
#131B50 #1E2C81 #2A3DB3 #465AD4 #7886DF

Accessibility & contrast

On white

8.69
#2A3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DB3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DB3#FFFFFF#000000##FFFFFF
##2A3DB31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3db3;
/* rgb */ color: rgb(42, 61, 179);
/* oklch */ color: oklch(42.8% 0.187 269.3);
Tailwind
colors: {
  custom: {
    50: '#7972cb',
    500: '#2a3db3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3db3;
$custom-light: #7972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3db3",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 231.679,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.18657,
    "h": 269.3
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#2A3DB3
secondary
#C7BB72
accent
#CF43E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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