#2B2A75#2B2A75

#2B2A75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.125 H 277.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2B2A75
RGBrgb(43, 42, 117)
HSLhsl(241, 47%, 31%)
HSVhsv(241, 64%, 46%)
CMYKcmyk(63.2%, 64.1%, 0%, 54.1%)
CIE-LABlab(21.78, 24.95, -43.04)
CIE-LCHlch(21.78, 49.75, 300.10°)
OKLaboklab(33.59% 0.0171 -0.1238)
OKLCHoklch(33.59% 0.125 277.9)
XYZxyz(5.0341, 3.4535, 17.2275)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A75 #74752A
analogous
#2A4E75 #2B2A75 #502A75
triadic
#2B2A75 #752B2A #2A752B
tetradic
#2B2A75 #752A4E #74752A #2A7550
square
#2B2A75 #752A4E #74752A #2A7550
split-complementary
#2B2A75 #75502A #4E752A
monochromatic
#0A0A1B #1A1A48 #2B2A75 #3C3AA2 #5857C3

Accessibility & contrast

On white

12.42
#2B2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A75
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A75#FFFFFF#000000##FFFFFF
##2B2A751.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2a75;
/* rgb */ color: rgb(43, 42, 117);
/* oklch */ color: oklch(33.6% 0.125 277.9);
Tailwind
colors: {
  custom: {
    50: '#6d639d',
    500: '#2b2a75',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a75;
$custom-light: #6d639d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a75",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 240.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.125,
    "h": 277.9
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#2B2A75
secondary
#A6A754
accent
#D751D5
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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