#2A3DB8#2A3DB8

#2A3DB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.193 H 269.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2A3DB8
RGBrgb(42, 61, 184)
HSLhsl(232, 63%, 44%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(77.2%, 66.8%, 0%, 27.8%)
CIE-LABlab(32.46, 36.79, -66.69)
CIE-LCHlch(32.46, 76.17, 298.89°)
OKLaboklab(43.25% -0.0025 -0.193)
OKLCHoklch(43.25% 0.193 269.3)
XYZxyz(11.2723, 7.2892, 46.1510)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DB8 #B8A52A
analogous
#2A84B8 #2A3DB8 #5E2AB8
triadic
#2A3DB8 #B82A3D #3DB82A
tetradic
#2A3DB8 #B82A84 #B8A52A #2AB85E
square
#2A3DB8 #B82A84 #B8A52A #2AB85E
split-complementary
#2A3DB8 #B85E2A #84B82A
monochromatic
#131C54 #1F2C86 #2A3DB8 #4A5CD6 #7B89E1

Accessibility & contrast

On white

8.54
#2A3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DB8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DB8#FFFFFF#000000##FFFFFF
##2A3DB81.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3db8;
/* rgb */ color: rgb(42, 61, 184);
/* oklch */ color: oklch(43.2% 0.193 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b72ce',
    500: '#2a3db8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3db8;
$custom-light: #7b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3db8",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 231.972,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.19303,
    "h": 269.3
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#2A3DB8
secondary
#C9BE75
accent
#D042E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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