#2B2394#2B2394

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

Color values

HEX#2B2394
RGBrgb(43, 35, 148)
HSLhsl(244, 62%, 36%)
HSVhsv(244, 76%, 58%)
CMYKcmyk(70.9%, 76.4%, 0%, 42%)
CIE-LABlab(23.18, 40.11, -60.22)
CIE-LCHlch(23.18, 72.36, 303.67°)
OKLaboklab(35.51% 0.0179 -0.1741)
OKLCHoklch(35.51% 0.175 275.9)
XYZxyz(6.9408, 3.8531, 28.3892)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2394 #8C9423
analogous
#235394 #2B2394 #632394
triadic
#2B2394 #942B23 #23942B
tetradic
#2B2394 #942353 #8C9423 #239463
square
#2B2394 #942353 #8C9423 #239463
split-complementary
#2B2394 #946323 #539423
monochromatic
#0E0C31 #1D1763 #2B2394 #392FC5 #625AD8

Accessibility & contrast

On white

11.86
#2B2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2394
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2394#FFFFFF#000000##FFFFFF
##2B23941.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2394;
/* rgb */ color: rgb(43, 35, 148);
/* oklch */ color: oklch(35.5% 0.175 275.9);
Tailwind
colors: {
  custom: {
    50: '#7560b5',
    500: '#2b2394',
    950: '#000000',
  },
}
SCSS
$custom: #2b2394;
$custom-light: #7560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2394",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 244.248,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35511,
    "c": 0.17498,
    "h": 275.9
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#2B2394
secondary
#B5BC57
accent
#E543D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2394

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

Preview Lab → · Contrast checker → · Palette generator →

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