#2B2594#2B2594

#2B2594 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.173 H 275.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2B2594
RGBrgb(43, 37, 148)
HSLhsl(243, 60%, 36%)
HSVhsv(243, 75%, 58%)
CMYKcmyk(70.9%, 75%, 0%, 42%)
CIE-LABlab(23.59, 38.97, -59.55)
CIE-LCHlch(23.59, 71.17, 303.20°)
OKLaboklab(35.8% 0.0167 -0.1721)
OKLCHoklch(35.8% 0.173 275.6)
XYZxyz(7.0014, 3.9742, 28.4094)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2594 #8E9425
analogous
#255794 #2B2594 #632594
triadic
#2B2594 #942B25 #25942B
tetradic
#2B2594 #942557 #8E9425 #259463
square
#2B2594 #942557 #8E9425 #259463
split-complementary
#2B2594 #946325 #579425
monochromatic
#0F0D32 #1D1963 #2B2594 #3931C5 #635DD6

Accessibility & contrast

On white

11.70
#2B2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2594
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2594#FFFFFF#000000##FFFFFF
##2B25941.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2594;
/* rgb */ color: rgb(43, 37, 148);
/* oklch */ color: oklch(35.8% 0.173 275.6);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2b2594',
    950: '#000000',
  },
}
SCSS
$custom: #2b2594;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2594",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 243.243,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35799,
    "c": 0.17295,
    "h": 275.6
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#2B2594
secondary
#B6BB59
accent
#E345DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2594

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

Preview Lab → · Contrast checker → · Palette generator →

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