#2B2F84#2B2F84

#2B2F84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.140 H 274.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B2F84
RGBrgb(43, 47, 132)
HSLhsl(237, 51%, 34%)
HSVhsv(237, 67%, 52%)
CMYKcmyk(67.4%, 64.4%, 0%, 48.2%)
CIE-LABlab(24.36, 27.05, -48.33)
CIE-LCHlch(24.36, 55.38, 299.24°)
OKLaboklab(35.89% 0.0117 -0.1393)
OKLCHoklch(35.89% 0.14 274.8)
XYZxyz(6.1763, 4.2120, 22.3128)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F84 #84802B
analogous
#2B5C84 #2B2F84 #542B84
triadic
#2B2F84 #842B2F #2F842B
tetradic
#2B2F84 #842B5C #84802B #2B8454
square
#2B2F84 #842B5C #84802B #2B8454
split-complementary
#2B2F84 #84542B #5C842B
monochromatic
#0D0E28 #1C1F56 #2B2F84 #3A3FB2 #5F64CB

Accessibility & contrast

On white

11.40
#2B2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F84
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F84#FFFFFF#000000##FFFFFF
##2B2F841.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2f84;
/* rgb */ color: rgb(43, 47, 132);
/* oklch */ color: oklch(35.9% 0.140 274.8);
Tailwind
colors: {
  custom: {
    50: '#7067a9',
    500: '#2b2f84',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f84;
$custom-light: #7067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f84",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 237.303,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35889,
    "c": 0.13979,
    "h": 274.8
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#2B2F84
secondary
#B1AD5A
accent
#D44DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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