#2A3485#2A3485

#2A3485 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.135 H 272.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2A3485
RGBrgb(42, 52, 133)
HSLhsl(233, 52%, 34%)
HSVhsv(233, 68%, 52%)
CMYKcmyk(68.4%, 60.9%, 0%, 47.8%)
CIE-LABlab(25.69, 23.89, -46.79)
CIE-LCHlch(25.69, 52.54, 297.05°)
OKLaboklab(36.88% 0.006 -0.1348)
OKLCHoklch(36.88% 0.135 272.6)
XYZxyz(6.4151, 4.6411, 22.7435)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3485 #857B2A
analogous
#2A6285 #2A3485 #4E2A85
triadic
#2A3485 #852A34 #34852A
tetradic
#2A3485 #852A62 #857B2A #2A854E
square
#2A3485 #852A62 #857B2A #2A854E
split-complementary
#2A3485 #854E2A #62852A
monochromatic
#0D1028 #1B2256 #2A3485 #3946B4 #5D6ACC

Accessibility & contrast

On white

10.89
#2A3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A3485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3485
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3485#FFFFFF#000000##FFFFFF
##2A34851.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3485;
/* rgb */ color: rgb(42, 52, 133);
/* oklch */ color: oklch(36.9% 0.135 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f6ba9',
    500: '#2a3485',
    950: '#000000',
  },
}
SCSS
$custom: #2a3485;
$custom-light: #6f6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3485",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 233.407,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.13492,
    "h": 272.6
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#2A3485
secondary
#B2A859
accent
#CC4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3485

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

Preview Lab → · Contrast checker → · Palette generator →

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