#2A3082#2A3082

#2A3082 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.136 H 274.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2A3082
RGBrgb(42, 48, 130)
HSLhsl(236, 51%, 34%)
HSVhsv(236, 68%, 51%)
CMYKcmyk(67.7%, 63.1%, 0%, 49%)
CIE-LABlab(24.38, 25.48, -47.05)
CIE-LCHlch(24.38, 53.51, 298.44°)
OKLaboklab(35.83% 0.0097 -0.1356)
OKLCHoklch(35.83% 0.136 274.1)
XYZxyz(6.0397, 4.2173, 21.6105)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3082 #827C2A
analogous
#2A5C82 #2A3082 #502A82
triadic
#2A3082 #822A30 #30822A
tetradic
#2A3082 #822A5C #827C2A #2A8250
square
#2A3082 #822A5C #827C2A #2A8250
split-complementary
#2A3082 #82502A #5C822A
monochromatic
#0C0E25 #1B1F54 #2A3082 #3941B0 #5C64CA

Accessibility & contrast

On white

11.39
#2A3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3082
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3082#FFFFFF#000000##FFFFFF
##2A30821.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3082;
/* rgb */ color: rgb(42, 48, 130);
/* oklch */ color: oklch(35.8% 0.136 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f68a7',
    500: '#2a3082',
    950: '#000000',
  },
}
SCSS
$custom: #2a3082;
$custom-light: #6f68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3082",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 235.909,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35829,
    "c": 0.1359,
    "h": 274.1
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#2A3082
secondary
#B0AA58
accent
#D14DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A3082

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

Preview Lab → · Contrast checker → · Palette generator →

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