#2B2D85#2B2D85

#2B2D85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.144 H 275.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2B2D85
RGBrgb(43, 45, 133)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 52%)
CMYKcmyk(67.7%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.94, 28.74, -49.63)
CIE-LCHlch(23.94, 57.35, 300.07°)
OKLaboklab(35.61% 0.0133 -0.1431)
OKLCHoklch(35.61% 0.144 275.3)
XYZxyz(6.1669, 4.0833, 22.6489)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D85 #85832B
analogous
#2B5A85 #2B2D85 #562B85
triadic
#2B2D85 #852B2D #2D852B
tetradic
#2B2D85 #852B5A #85832B #2B8556
square
#2B2D85 #852B5A #85832B #2B8556
split-complementary
#2B2D85 #85562B #5A852B
monochromatic
#0D0E29 #1C1D57 #2B2D85 #3A3DB3 #5F62CB

Accessibility & contrast

On white

11.56
#2B2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D85
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D85#FFFFFF#000000##FFFFFF
##2B2D851.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2d85;
/* rgb */ color: rgb(43, 45, 133);
/* oklch */ color: oklch(35.6% 0.144 275.3);
Tailwind
colors: {
  custom: {
    50: '#7066a9',
    500: '#2b2d85',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d85;
$custom-light: #7066a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d85",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 238.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.14376,
    "h": 275.3
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#2B2D85
secondary
#B1AF5B
accent
#D74DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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