#2A3DB9#2A3DB9

#2A3DB9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.194 H 269.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2A3DB9
RGBrgb(42, 61, 185)
HSLhsl(232, 63%, 45%)
HSVhsv(232, 77%, 73%)
CMYKcmyk(77.3%, 67%, 0%, 27.5%)
CIE-LABlab(32.55, 37.15, -67.13)
CIE-LCHlch(32.55, 76.72, 298.96°)
OKLaboklab(43.34% -0.0026 -0.1943)
OKLCHoklch(43.34% 0.194 269.2)
XYZxyz(11.3775, 7.3312, 46.7050)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DB9 #B9A62A
analogous
#2A85B9 #2A3DB9 #5F2AB9
triadic
#2A3DB9 #B92A3D #3DB92A
tetradic
#2A3DB9 #B92A85 #B9A62A #2AB95F
square
#2A3DB9 #B92A85 #B9A62A #2AB95F
split-complementary
#2A3DB9 #B95F2A #85B92A
monochromatic
#131C55 #1F2D87 #2A3DB9 #4A5DD6 #7C8AE1

Accessibility & contrast

On white

8.51
#2A3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A3DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DB9
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DB9#FFFFFF#000000##FFFFFF
##2A3DB91.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a3db9;
/* rgb */ color: rgb(42, 61, 185);
/* oklch */ color: oklch(43.3% 0.194 269.2);
Tailwind
colors: {
  custom: {
    50: '#7b72cf',
    500: '#2a3db9',
    950: '#000000',
  },
}
SCSS
$custom: #2a3db9;
$custom-light: #7b72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3db9",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 232.028,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43342,
    "c": 0.19431,
    "h": 269.2
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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