#2A3DB0#2A3DB0

#2A3DB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.183 H 269.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2A3DB0
RGBrgb(42, 61, 176)
HSLhsl(231, 61%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(76.1%, 65.3%, 0%, 31%)
CIE-LABlab(31.72, 33.89, -63.14)
CIE-LCHlch(31.72, 71.66, 298.22°)
OKLaboklab(42.49% -0.002 -0.1826)
OKLCHoklch(42.49% 0.183 269.4)
XYZxyz(10.4574, 6.9632, 41.8588)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DB0 #B09D2A
analogous
#2A80B0 #2A3DB0 #5A2AB0
triadic
#2A3DB0 #B02A3D #3DB02A
tetradic
#2A3DB0 #B02A80 #B09D2A #2AB05A
square
#2A3DB0 #B02A80 #B09D2A #2AB05A
split-complementary
#2A3DB0 #B05A2A #80B02A
monochromatic
#121B4D #1E2C7F #2A3DB0 #4559D3 #7685DE

Accessibility & contrast

On white

8.78
#2A3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A3DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DB0
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DB0#FFFFFF#000000##FFFFFF
##2A3DB01.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3db0;
/* rgb */ color: rgb(42, 61, 176);
/* oklch */ color: oklch(42.5% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#7972c9',
    500: '#2a3db0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3db0;
$custom-light: #7972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3db0",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 231.493,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.18266,
    "h": 269.4
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#2A3DB0
secondary
#C6BA70
accent
#CE43E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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