#2B2E82#2B2E82

#2B2E82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.138 H 275.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2E82
RGBrgb(43, 46, 130)
HSLhsl(238, 50%, 34%)
HSVhsv(238, 67%, 51%)
CMYKcmyk(66.9%, 64.6%, 0%, 49%)
CIE-LABlab(23.93, 26.99, -47.77)
CIE-LCHlch(23.93, 54.87, 299.46°)
OKLaboklab(35.52% 0.0127 -0.1377)
OKLCHoklch(35.52% 0.138 275.2)
XYZxyz(6.0012, 4.0788, 21.5858)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E82 #827F2B
analogous
#2B5A82 #2B2E82 #542B82
triadic
#2B2E82 #822B2E #2E822B
tetradic
#2B2E82 #822B5A #827F2B #2B8254
square
#2B2E82 #822B5A #827F2B #2B8254
split-complementary
#2B2E82 #82542B #5A822B
monochromatic
#0D0D26 #1C1E54 #2B2E82 #3A3EB0 #5E61CA

Accessibility & contrast

On white

11.57
#2B2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2E82
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E82#FFFFFF#000000##FFFFFF
##2B2E821.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2e82;
/* rgb */ color: rgb(43, 46, 130);
/* oklch */ color: oklch(35.5% 0.138 275.2);
Tailwind
colors: {
  custom: {
    50: '#7067a7',
    500: '#2b2e82',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e82;
$custom-light: #7067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e82",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 237.931,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.13826,
    "h": 275.2
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#2B2E82
secondary
#B0AD59
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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