#2A3DB1#2A3DB1

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

Color values

HEX#2A3DB1
RGBrgb(42, 61, 177)
HSLhsl(232, 62%, 43%)
HSVhsv(232, 76%, 69%)
CMYKcmyk(76.3%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.81, 34.25, -63.59)
CIE-LCHlch(31.81, 72.23, 298.31°)
OKLaboklab(42.58% -0.0021 -0.1839)
OKLCHoklch(42.58% 0.184 269.4)
XYZxyz(10.5567, 7.0029, 42.3818)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3DB1 #B19E2A
analogous
#2A80B1 #2A3DB1 #5B2AB1
triadic
#2A3DB1 #B12A3D #3DB12A
tetradic
#2A3DB1 #B12A80 #B19E2A #2AB15B
square
#2A3DB1 #B12A80 #B19E2A #2AB15B
split-complementary
#2A3DB1 #B15B2A #80B12A
monochromatic
#131B4E #1E2C80 #2A3DB1 #4559D3 #7785DF

Accessibility & contrast

On white

8.75
#2A3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A3DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3DB1
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3DB1#FFFFFF#000000##FFFFFF
##2A3DB11.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3db1;
/* rgb */ color: rgb(42, 61, 177);
/* oklch */ color: oklch(42.6% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#7972c9',
    500: '#2a3db1',
    950: '#000000',
  },
}
SCSS
$custom: #2a3db1;
$custom-light: #7972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3db1",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 231.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.18396,
    "h": 269.4
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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