#2B2B8D#2B2B8D

#2B2B8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.157 H 275.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2B2B8D
RGBrgb(43, 43, 141)
HSLhsl(240, 53%, 36%)
HSVhsv(240, 70%, 55%)
CMYKcmyk(69.5%, 69.5%, 0%, 44.7%)
CIE-LABlab(24.21, 32.90, -54.19)
CIE-LCHlch(24.21, 63.40, 301.26°)
OKLaboklab(36.03% 0.014 -0.1565)
OKLCHoklch(36.03% 0.157 275.1)
XYZxyz(6.6663, 4.1638, 25.6465)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B8D #8D8D2B
analogous
#2B5C8D #2B2B8D #5C2B8D
triadic
#2B2B8D #8D2B2B #2B8D2B
tetradic
#2B2B8D #8D2B5C #8D8D2B #2B8D5C
square
#2B2B8D #8D2B5C #8D8D2B #2B8D5C
split-complementary
#2B2B8D #8D5C2B #5C8D2B
monochromatic
#0E0E2F #1D1D5E #2B2B8D #3939BC #6363CF

Accessibility & contrast

On white

11.46
#2B2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B8D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B8D#FFFFFF#000000##FFFFFF
##2B2B8D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2b8d;
/* rgb */ color: rgb(43, 43, 141);
/* oklch */ color: oklch(36.0% 0.157 275.1);
Tailwind
colors: {
  custom: {
    50: '#7265af',
    500: '#2b2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b8d;
$custom-light: #7265af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b8d",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3603,
    "c": 0.15714,
    "h": 275.1
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#2B2B8D
secondary
#B6B65E
accent
#DD4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2B2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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