#2B2696#2B2696

#2B2696 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.174 H 275.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2B2696
RGBrgb(43, 38, 150)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 59%)
CMYKcmyk(71.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(24.00, 39.06, -60.09)
CIE-LCHlch(24.00, 71.67, 303.02°)
OKLaboklab(36.16% 0.0158 -0.1737)
OKLCHoklch(36.16% 0.174 275.2)
XYZxyz(7.1926, 4.1011, 29.2608)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2696 #919626
analogous
#265996 #2B2696 #632696
triadic
#2B2696 #962B26 #26962B
tetradic
#2B2696 #962659 #919626 #269663
square
#2B2696 #962659 #919626 #269663
split-complementary
#2B2696 #966326 #599626
monochromatic
#0F0D34 #1D1A65 #2B2696 #3932C7 #6560D7

Accessibility & contrast

On white

11.54
#2B2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2696
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2696#FFFFFF#000000##FFFFFF
##2B26961.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2696;
/* rgb */ color: rgb(43, 38, 150);
/* oklch */ color: oklch(36.2% 0.174 275.2);
Tailwind
colors: {
  custom: {
    50: '#7562b6',
    500: '#2b2696',
    950: '#000000',
  },
}
SCSS
$custom: #2b2696;
$custom-light: #7562b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2696",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 242.679,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36158,
    "c": 0.17444,
    "h": 275.2
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#2B2696
secondary
#B8BC5C
accent
#E345DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2696

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

Preview Lab → · Contrast checker → · Palette generator →

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