#2B2D73#2B2D73

#2B2D73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.118 H 276.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2B2D73
RGBrgb(43, 45, 115)
HSLhsl(238, 46%, 31%)
HSVhsv(238, 63%, 45%)
CMYKcmyk(62.6%, 60.9%, 0%, 54.9%)
CIE-LABlab(22.40, 22.18, -40.75)
CIE-LCHlch(22.40, 46.39, 298.56°)
OKLaboklab(33.99% 0.0141 -0.117)
OKLCHoklch(33.99% 0.118 276.9)
XYZxyz(5.0282, 3.6278, 16.6516)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D73 #73712B
analogous
#2B5173 #2B2D73 #4D2B73
triadic
#2B2D73 #732B2D #2D732B
tetradic
#2B2D73 #732B51 #73712B #2B734D
square
#2B2D73 #732B51 #73712B #2B734D
split-complementary
#2B2D73 #734D2B #51732B
monochromatic
#0A0A1A #1A1C46 #2B2D73 #3C3EA0 #585BC1

Accessibility & contrast

On white

12.17
#2B2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D73
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D73#FFFFFF#000000##FFFFFF
##2B2D731.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2d73;
/* rgb */ color: rgb(43, 45, 115);
/* oklch */ color: oklch(34.0% 0.118 276.9);
Tailwind
colors: {
  custom: {
    50: '#6c669c',
    500: '#2b2d73',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d73;
$custom-light: #6c669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d73",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 238.333,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.11789,
    "h": 276.9
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#2B2D73
secondary
#A5A355
accent
#D253D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2B2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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