#2B2690#2B2690

#2B2690 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.167 H 275.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2B2690
RGBrgb(43, 38, 144)
HSLhsl(243, 58%, 36%)
HSVhsv(243, 74%, 56%)
CMYKcmyk(70.1%, 73.6%, 0%, 43.5%)
CIE-LABlab(23.38, 37.02, -57.41)
CIE-LCHlch(23.38, 68.31, 302.82°)
OKLaboklab(35.53% 0.0169 -0.1659)
OKLCHoklch(35.53% 0.167 275.8)
XYZxyz(6.7218, 3.9128, 26.7812)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2690 #8B9026
analogous
#265690 #2B2690 #602690
triadic
#2B2690 #902B26 #26902B
tetradic
#2B2690 #902656 #8B9026 #269060
square
#2B2690 #902656 #8B9026 #269060
split-complementary
#2B2690 #906026 #569026
monochromatic
#0E0C2F #1D1960 #2B2690 #3933C0 #625CD4

Accessibility & contrast

On white

11.78
#2B2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2690
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2690#FFFFFF#000000##FFFFFF
##2B26901.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2690;
/* rgb */ color: rgb(43, 38, 144);
/* oklch */ color: oklch(35.5% 0.167 275.8);
Tailwind
colors: {
  custom: {
    50: '#7462b2',
    500: '#2b2690',
    950: '#000000',
  },
}
SCSS
$custom: #2b2690;
$custom-light: #7462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2690",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 242.83,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35528,
    "c": 0.16677,
    "h": 275.8
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2B2690
secondary
#B5B959
accent
#E146DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2690

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

Preview Lab → · Contrast checker → · Palette generator →

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