#2B2A83#2B2A83

#2B2A83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.145 H 276.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2B2A83
RGBrgb(43, 42, 131)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 68%, 51%)
CMYKcmyk(67.2%, 67.9%, 0%, 48.6%)
CIE-LABlab(23.03, 29.98, -49.88)
CIE-LCHlch(23.03, 58.20, 301.01°)
OKLaboklab(34.89% 0.016 -0.1439)
OKLCHoklch(34.89% 0.145 276.3)
XYZxyz(5.9196, 3.8077, 21.8913)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A83 #82832A
analogous
#2A5683 #2B2A83 #582A83
triadic
#2B2A83 #832B2A #2A832B
tetradic
#2B2A83 #832A56 #82832A #2A8358
square
#2B2A83 #832A56 #82832A #2A8358
split-complementary
#2B2A83 #83582A #56832A
monochromatic
#0D0C26 #1C1B55 #2B2A83 #3A39B1 #5E5DCB

Accessibility & contrast

On white

11.92
#2B2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A83
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A83#FFFFFF#000000##FFFFFF
##2B2A831.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2a83;
/* rgb */ color: rgb(43, 42, 131);
/* oklch */ color: oklch(34.9% 0.145 276.3);
Tailwind
colors: {
  custom: {
    50: '#7064a8',
    500: '#2b2a83',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a83;
$custom-light: #7064a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a83",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 240.674,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34886,
    "c": 0.14477,
    "h": 276.3
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#2B2A83
secondary
#B0B158
accent
#DB4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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