#2B2697#2B2697

#2B2697 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.176 H 275.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2B2697
RGBrgb(43, 38, 151)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 59%)
CMYKcmyk(71.5%, 74.8%, 0%, 40.8%)
CIE-LABlab(24.11, 39.40, -60.54)
CIE-LCHlch(24.11, 72.23, 303.06°)
OKLaboklab(36.26% 0.0156 -0.175)
OKLCHoklch(36.26% 0.176 275.1)
XYZxyz(7.2734, 4.1335, 29.6867)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2697 #929726
analogous
#265A97 #2B2697 #642697
triadic
#2B2697 #972B26 #26972B
tetradic
#2B2697 #97265A #929726 #269764
square
#2B2697 #97265A #929726 #269764
split-complementary
#2B2697 #976426 #5A9726
monochromatic
#0F0D35 #1D1A66 #2B2697 #3932C8 #6660D7

Accessibility & contrast

On white

11.50
#2B2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2697
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2697#FFFFFF#000000##FFFFFF
##2B26971.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2697;
/* rgb */ color: rgb(43, 38, 151);
/* oklch */ color: oklch(36.3% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#7562b7',
    500: '#2b2697',
    950: '#000000',
  },
}
SCSS
$custom: #2b2697;
$custom-light: #7562b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2697",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 242.655,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.17571,
    "h": 275.1
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2697

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

Preview Lab → · Contrast checker → · Palette generator →

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