#2B2C85#2B2C85

#2B2C85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.145 H 275.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2B2C85
RGBrgb(43, 44, 133)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 68%, 52%)
CMYKcmyk(67.7%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.70, 29.39, -50.04)
CIE-LCHlch(23.70, 58.03, 300.43°)
OKLaboklab(35.43% 0.0141 -0.1443)
OKLCHoklch(35.43% 0.145 275.6)
XYZxyz(6.1292, 4.0079, 22.6364)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C85 #85842B
analogous
#2B5985 #2B2C85 #572B85
triadic
#2B2C85 #852B2C #2C852B
tetradic
#2B2C85 #852B59 #85842B #2B8557
square
#2B2C85 #852B59 #85842B #2B8557
split-complementary
#2B2C85 #85572B #59852B
monochromatic
#0D0D29 #1C1D57 #2B2C85 #3A3BB3 #5F60CB

Accessibility & contrast

On white

11.66
#2B2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C85
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C85#FFFFFF#000000##FFFFFF
##2B2C851.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2c85;
/* rgb */ color: rgb(43, 44, 133);
/* oklch */ color: oklch(35.4% 0.145 275.6);
Tailwind
colors: {
  custom: {
    50: '#7065a9',
    500: '#2b2c85',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c85;
$custom-light: #7065a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c85",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 239.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.14503,
    "h": 275.6
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#2B2C85
secondary
#B1B05B
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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