#2A3085#2A3085

#2A3085 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.140 H 273.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2A3085
RGBrgb(42, 48, 133)
HSLhsl(236, 52%, 34%)
HSVhsv(236, 68%, 52%)
CMYKcmyk(68.4%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.64, 26.59, -48.51)
CIE-LCHlch(24.64, 55.32, 298.73°)
OKLaboklab(36.1% 0.0095 -0.1398)
OKLCHoklch(36.1% 0.14 273.9)
XYZxyz(6.2440, 4.2990, 22.6865)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3085 #857F2A
analogous
#2A5E85 #2A3085 #522A85
triadic
#2A3085 #852A30 #30852A
tetradic
#2A3085 #852A5E #857F2A #2A8552
square
#2A3085 #852A5E #857F2A #2A8552
split-complementary
#2A3085 #85522A #5E852A
monochromatic
#0D0E28 #1B1F56 #2A3085 #3941B4 #5D65CC

Accessibility & contrast

On white

11.29
#2A3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3085
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3085#FFFFFF#000000##FFFFFF
##2A30851.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3085;
/* rgb */ color: rgb(42, 48, 133);
/* oklch */ color: oklch(36.1% 0.140 273.9);
Tailwind
colors: {
  custom: {
    50: '#7068a9',
    500: '#2a3085',
    950: '#000000',
  },
}
SCSS
$custom: #2a3085;
$custom-light: #7068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3085",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 236.044,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36101,
    "c": 0.14017,
    "h": 273.9
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#2A3085
secondary
#B2AC59
accent
#D24CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3085

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

Preview Lab → · Contrast checker → · Palette generator →

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