#2B2D79#2B2D79

#2B2D79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.127 H 276.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2D79
RGBrgb(43, 45, 121)
HSLhsl(238, 48%, 32%)
HSVhsv(238, 64%, 47%)
CMYKcmyk(64.5%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.90, 24.37, -43.77)
CIE-LCHlch(22.90, 50.10, 299.11°)
OKLaboklab(34.52% 0.014 -0.1259)
OKLCHoklch(34.52% 0.127 276.3)
XYZxyz(5.3847, 3.7704, 18.5295)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D79 #79772B
analogous
#2B5479 #2B2D79 #502B79
triadic
#2B2D79 #792B2D #2D792B
tetradic
#2B2D79 #792B54 #79772B #2B7950
square
#2B2D79 #792B54 #79772B #2B7950
split-complementary
#2B2D79 #79502B #54792B
monochromatic
#0B0B1F #1B1C4C #2B2D79 #3B3EA6 #5A5DC4

Accessibility & contrast

On white

11.97
#2B2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D79
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D79#FFFFFF#000000##FFFFFF
##2B2D791.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2d79;
/* rgb */ color: rgb(43, 45, 121);
/* oklch */ color: oklch(34.5% 0.127 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e66a0',
    500: '#2b2d79',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d79;
$custom-light: #6e66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d79",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 238.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34517,
    "c": 0.12671,
    "h": 276.3
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#2B2D79
secondary
#AAA856
accent
#D451D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E

Preview Lab

Preview with #2B2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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