#2B2D7B#2B2D7B

#2B2D7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.130 H 276.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2D7B
RGBrgb(43, 45, 123)
HSLhsl(239, 48%, 33%)
HSVhsv(239, 65%, 48%)
CMYKcmyk(65%, 63.4%, 0%, 51.8%)
CIE-LABlab(23.07, 25.10, -44.76)
CIE-LCHlch(23.07, 51.32, 299.28°)
OKLaboklab(34.7% 0.0139 -0.1288)
OKLCHoklch(34.7% 0.13 276.2)
XYZxyz(5.5086, 3.8200, 19.1821)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D7B #7B792B
analogous
#2B557B #2B2D7B #512B7B
triadic
#2B2D7B #7B2B2D #2D7B2B
tetradic
#2B2D7B #7B2B55 #7B792B #2B7B51
square
#2B2D7B #7B2B55 #7B792B #2B7B51
split-complementary
#2B2D7B #7B512B #557B2B
monochromatic
#0B0C20 #1B1C4E #2B2D7B #3B3EA8 #5B5DC6

Accessibility & contrast

On white

11.90
#2B2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D7B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D7B#FFFFFF#000000##FFFFFF
##2B2D7B1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2d7b;
/* rgb */ color: rgb(43, 45, 123);
/* oklch */ color: oklch(34.7% 0.130 276.2);
Tailwind
colors: {
  custom: {
    50: '#6e66a2',
    500: '#2b2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d7b;
$custom-light: #6e66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d7b",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 238.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34695,
    "c": 0.1296,
    "h": 276.2
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2B2D7B
secondary
#ABA956
accent
#D450D8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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