#2A3285#2A3285

#2A3285 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.138 H 273.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2A3285
RGBrgb(42, 50, 133)
HSLhsl(235, 52%, 34%)
HSVhsv(235, 68%, 52%)
CMYKcmyk(68.4%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.16, 25.25, -47.66)
CIE-LCHlch(25.16, 53.93, 297.91°)
OKLaboklab(36.49% 0.0078 -0.1373)
OKLCHoklch(36.49% 0.138 273.3)
XYZxyz(6.3277, 4.4663, 22.7144)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3285 #857D2A
analogous
#2A6085 #2A3285 #502A85
triadic
#2A3285 #852A32 #32852A
tetradic
#2A3285 #852A60 #857D2A #2A8550
square
#2A3285 #852A60 #857D2A #2A8550
split-complementary
#2A3285 #85502A #60852A
monochromatic
#0D0F28 #1B2156 #2A3285 #3943B4 #5D67CC

Accessibility & contrast

On white

11.09
#2A3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3285
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3285#FFFFFF#000000##FFFFFF
##2A32851.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3285;
/* rgb */ color: rgb(42, 50, 133);
/* oklch */ color: oklch(36.5% 0.138 273.3);
Tailwind
colors: {
  custom: {
    50: '#7069a9',
    500: '#2a3285',
    950: '#000000',
  },
}
SCSS
$custom: #2a3285;
$custom-light: #7069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3285",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 234.725,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36485,
    "c": 0.13756,
    "h": 273.3
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#2A3285
secondary
#B2AA59
accent
#CF4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3285

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

Preview Lab → · Contrast checker → · Palette generator →

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