#2B2A85#2B2A85

#2B2A85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.148 H 276.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2B2A85
RGBrgb(43, 42, 133)
HSLhsl(241, 52%, 34%)
HSVhsv(241, 68%, 52%)
CMYKcmyk(67.7%, 68.4%, 0%, 47.8%)
CIE-LABlab(23.21, 30.69, -50.83)
CIE-LCHlch(23.21, 59.38, 301.12°)
OKLaboklab(35.08% 0.0157 -0.1467)
OKLCHoklch(35.08% 0.148 276.1)
XYZxyz(6.0565, 3.8625, 22.6121)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A85 #84852A
analogous
#2A5785 #2B2A85 #592A85
triadic
#2B2A85 #852B2A #2A852B
tetradic
#2B2A85 #852A57 #84852A #2A8559
square
#2B2A85 #852A57 #84852A #2A8559
split-complementary
#2B2A85 #85592A #57852A
monochromatic
#0D0D28 #1C1B56 #2B2A85 #3A39B4 #5F5DCC

Accessibility & contrast

On white

11.85
#2B2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A85
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A85#FFFFFF#000000##FFFFFF
##2B2A851.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2a85;
/* rgb */ color: rgb(43, 42, 133);
/* oklch */ color: oklch(35.1% 0.148 276.1);
Tailwind
colors: {
  custom: {
    50: '#7164a9',
    500: '#2b2a85',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a85;
$custom-light: #7164a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a85",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 240.659,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.14752,
    "h": 276.1
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#2B2A85
secondary
#B1B259
accent
#DB4CDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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