#2B2983#2B2983

#2B2983 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.146 H 276.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2B2983
RGBrgb(43, 41, 131)
HSLhsl(241, 52%, 34%)
HSVhsv(241, 69%, 51%)
CMYKcmyk(67.2%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.78, 30.63, -50.27)
CIE-LCHlch(22.78, 58.87, 301.35°)
OKLaboklab(34.71% 0.0168 -0.1451)
OKLCHoklch(34.71% 0.146 276.6)
XYZxyz(5.8846, 3.7377, 21.8797)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2983 #818329
analogous
#295483 #2B2983 #582983
triadic
#2B2983 #832B29 #29832B
tetradic
#2B2983 #832954 #818329 #298358
square
#2B2983 #832954 #818329 #298358
split-complementary
#2B2983 #835829 #548329
monochromatic
#0C0C26 #1C1A54 #2B2983 #3A38B2 #5D5BCC

Accessibility & contrast

On white

12.02
#2B2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2983
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2983#FFFFFF#000000##FFFFFF
##2B29831.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2983;
/* rgb */ color: rgb(43, 41, 131);
/* oklch */ color: oklch(34.7% 0.146 276.6);
Tailwind
colors: {
  custom: {
    50: '#7063a8',
    500: '#2b2983',
    950: '#000000',
  },
}
SCSS
$custom: #2b2983;
$custom-light: #7063a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2983",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 241.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34711,
    "c": 0.14602,
    "h": 276.6
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#2B2983
secondary
#AFB157
accent
#DC4CD9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2B2983

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

Preview Lab → · Contrast checker → · Palette generator →

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