#2B2E85#2B2E85

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

Color values

HEX#2B2E85
RGBrgb(43, 46, 133)
HSLhsl(238, 51%, 35%)
HSVhsv(238, 68%, 52%)
CMYKcmyk(67.7%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.20, 28.08, -49.22)
CIE-LCHlch(24.20, 56.67, 299.70°)
OKLaboklab(35.8% 0.0124 -0.1419)
OKLCHoklch(35.8% 0.142 275)
XYZxyz(6.2055, 4.1605, 22.6618)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E85 #85822B
analogous
#2B5B85 #2B2E85 #552B85
triadic
#2B2E85 #852B2E #2E852B
tetradic
#2B2E85 #852B5B #85822B #2B8555
square
#2B2E85 #852B5B #85822B #2B8555
split-complementary
#2B2E85 #85552B #5B852B
monochromatic
#0D0E29 #1C1E57 #2B2E85 #3A3EB3 #5F63CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2E85#FFFFFF#000000##FFFFFF
##2B2E851.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)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2e85;
/* rgb */ color: rgb(43, 46, 133);
/* oklch */ color: oklch(35.8% 0.142 275.0);
Tailwind
colors: {
  custom: {
    50: '#7067a9',
    500: '#2b2e85',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e85;
$custom-light: #7067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e85",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 238,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.14248,
    "h": 275
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#2B2E85
secondary
#B1AE5B
accent
#D64DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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