#2B2B75#2B2B75

#2B2B75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.124 H 277.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2B2B75
RGBrgb(43, 43, 117)
HSLhsl(240, 46%, 31%)
HSVhsv(240, 63%, 46%)
CMYKcmyk(63.2%, 63.2%, 0%, 54.1%)
CIE-LABlab(22.04, 24.27, -42.62)
CIE-LCHlch(22.04, 49.05, 299.66°)
OKLaboklab(33.78% 0.0161 -0.1226)
OKLCHoklch(33.78% 0.124 277.5)
XYZxyz(5.0700, 3.5253, 17.2395)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B75 #75752B
analogous
#2B5075 #2B2B75 #502B75
triadic
#2B2B75 #752B2B #2B752B
tetradic
#2B2B75 #752B50 #75752B #2B7550
square
#2B2B75 #752B50 #75752B #2B7550
split-complementary
#2B2B75 #75502B #50752B
monochromatic
#0A0A1B #1B1B48 #2B2B75 #3B3BA2 #5959C2

Accessibility & contrast

On white

12.32
#2B2B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B75
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B75#FFFFFF#000000##FFFFFF
##2B2B751.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2b75;
/* rgb */ color: rgb(43, 43, 117);
/* oklch */ color: oklch(33.8% 0.124 277.5);
Tailwind
colors: {
  custom: {
    50: '#6d649d',
    500: '#2b2b75',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b75;
$custom-light: #6d649d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b75",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 240,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33776,
    "c": 0.12363,
    "h": 277.5
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#2B2B75
secondary
#A7A755
accent
#D652D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2B2B75

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

Preview Lab → · Contrast checker → · Palette generator →

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