#2B2973#2B2973

#2B2973 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.123 H 278.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2B2973
RGBrgb(43, 41, 115)
HSLhsl(242, 47%, 31%)
HSVhsv(242, 64%, 45%)
CMYKcmyk(62.6%, 64.3%, 0%, 54.9%)
CIE-LABlab(21.35, 24.90, -42.46)
CIE-LCHlch(21.35, 49.22, 300.39°)
OKLaboklab(33.22% 0.0182 -0.1221)
OKLCHoklch(33.22% 0.123 278.5)
XYZxyz(4.8827, 3.3369, 16.6031)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2973 #717329
analogous
#294C73 #2B2973 #502973
triadic
#2B2973 #732B29 #29732B
tetradic
#2B2973 #73294C #717329 #297350
square
#2B2973 #73294C #717329 #297350
split-complementary
#2B2973 #735029 #4C7329
monochromatic
#090919 #1A1946 #2B2973 #3C39A0 #5754C2

Accessibility & contrast

On white

12.59
#2B2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2973
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2973#FFFFFF#000000##FFFFFF
##2B29731.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2973;
/* rgb */ color: rgb(43, 41, 115);
/* oklch */ color: oklch(33.2% 0.123 278.5);
Tailwind
colors: {
  custom: {
    50: '#6d639c',
    500: '#2b2973',
    950: '#000000',
  },
}
SCSS
$custom: #2b2973;
$custom-light: #6d639c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2973",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 241.622,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.12347,
    "h": 278.5
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#2B2973
secondary
#A3A553
accent
#D751D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2973

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

Preview Lab → · Contrast checker → · Palette generator →

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