#2B2597#2B2597

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

Color values

HEX#2B2597
RGBrgb(43, 37, 151)
HSLhsl(243, 61%, 37%)
HSVhsv(243, 75%, 59%)
CMYKcmyk(71.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.90, 39.98, -60.87)
CIE-LCHlch(23.90, 72.83, 303.29°)
OKLaboklab(36.12% 0.0161 -0.176)
OKLCHoklch(36.12% 0.177 275.2)
XYZxyz(7.2419, 4.0704, 29.6762)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2597 #919725
analogous
#255897 #2B2597 #642597
triadic
#2B2597 #972B25 #25972B
tetradic
#2B2597 #972558 #919725 #259764
square
#2B2597 #972558 #919725 #259764
split-complementary
#2B2597 #976425 #589725
monochromatic
#0F0D35 #1D1966 #2B2597 #3931C8 #655FD8

Accessibility & contrast

On white

11.58
#2B2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2597
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2597#FFFFFF#000000##FFFFFF
##2B25971.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.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: #2b2597;
/* rgb */ color: rgb(43, 37, 151);
/* oklch */ color: oklch(36.1% 0.177 275.2);
Tailwind
colors: {
  custom: {
    50: '#7561b7',
    500: '#2b2597',
    950: '#000000',
  },
}
SCSS
$custom: #2b2597;
$custom-light: #7561b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2597",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 243.158,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.17674,
    "h": 275.2
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#2B2597
secondary
#B8BD5B
accent
#E444DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2597

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

Preview Lab → · Contrast checker → · Palette generator →

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