#2A3DB5#2A3DB5

#2A3DB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.189 H 269.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2A3DB5
RGBrgb(42, 61, 181)
HSLhsl(232, 62%, 44%)
HSVhsv(232, 77%, 71%)
CMYKcmyk(76.8%, 66.3%, 0%, 29%)
CIE-LABlab(32.18, 35.71, -65.37)
CIE-LCHlch(32.18, 74.48, 298.65°)
OKLaboklab(42.96% -0.0023 -0.1892)
OKLCHoklch(42.96% 0.189 269.3)
XYZxyz(10.9612, 7.1647, 44.5123)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DB5 #B5A22A
analogous
#2A82B5 #2A3DB5 #5C2AB5
triadic
#2A3DB5 #B52A3D #3DB52A
tetradic
#2A3DB5 #B52A82 #B5A22A #2AB55C
square
#2A3DB5 #B52A82 #B5A22A #2AB55C
split-complementary
#2A3DB5 #B55C2A #82B52A
monochromatic
#131C52 #1E2C83 #2A3DB5 #485BD4 #7987E0

Accessibility & contrast

On white

8.63
#2A3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DB5
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DB5#FFFFFF#000000##FFFFFF
##2A3DB51.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3db5;
/* rgb */ color: rgb(42, 61, 181);
/* oklch */ color: oklch(43.0% 0.189 269.3);
Tailwind
colors: {
  custom: {
    50: '#7a72cc',
    500: '#2a3db5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3db5;
$custom-light: #7a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3db5",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 231.799,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42959,
    "c": 0.18916,
    "h": 269.3
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#2A3DB5
secondary
#C8BC73
accent
#CF42E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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