#2B2B85#2B2B85

#2B2B85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.146 H 275.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2B85
RGBrgb(43, 43, 133)
HSLhsl(240, 51%, 35%)
HSVhsv(240, 68%, 52%)
CMYKcmyk(67.7%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.45, 30.05, -50.44)
CIE-LCHlch(23.45, 58.71, 300.78°)
OKLaboklab(35.25% 0.0149 -0.1455)
OKLCHoklch(35.25% 0.146 275.9)
XYZxyz(6.0924, 3.9343, 22.6241)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B85 #85852B
analogous
#2B5885 #2B2B85 #582B85
triadic
#2B2B85 #852B2B #2B852B
tetradic
#2B2B85 #852B58 #85852B #2B8558
square
#2B2B85 #852B58 #85852B #2B8558
split-complementary
#2B2B85 #85582B #58852B
monochromatic
#0D0D29 #1C1C57 #2B2B85 #3A3AB3 #5F5FCB

Accessibility & contrast

On white

11.75
#2B2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B85
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B85#FFFFFF#000000##FFFFFF
##2B2B851.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2b85;
/* rgb */ color: rgb(43, 43, 133);
/* oklch */ color: oklch(35.3% 0.146 275.9);
Tailwind
colors: {
  custom: {
    50: '#7165a9',
    500: '#2b2b85',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b85;
$custom-light: #7165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b85",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.14627,
    "h": 275.9
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#2B2B85
secondary
#B1B15B
accent
#DB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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