#2B2F82#2B2F82

#2B2F82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.137 H 274.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2B2F82
RGBrgb(43, 47, 130)
HSLhsl(237, 50%, 34%)
HSVhsv(237, 67%, 51%)
CMYKcmyk(66.9%, 63.8%, 0%, 49%)
CIE-LABlab(24.19, 26.32, -47.35)
CIE-LCHlch(24.19, 54.18, 299.06°)
OKLaboklab(35.71% 0.0118 -0.1364)
OKLCHoklch(35.71% 0.137 274.9)
XYZxyz(6.0407, 4.1578, 21.5990)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F82 #827E2B
analogous
#2B5B82 #2B2F82 #532B82
triadic
#2B2F82 #822B2F #2F822B
tetradic
#2B2F82 #822B5B #827E2B #2B8253
square
#2B2F82 #822B5B #827E2B #2B8253
split-complementary
#2B2F82 #82532B #5B822B
monochromatic
#0D0E26 #1C1E54 #2B2F82 #3A40B0 #5E63CA

Accessibility & contrast

On white

11.47
#2B2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F82
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F82#FFFFFF#000000##FFFFFF
##2B2F821.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2f82;
/* rgb */ color: rgb(43, 47, 130);
/* oklch */ color: oklch(35.7% 0.137 274.9);
Tailwind
colors: {
  custom: {
    50: '#7067a7',
    500: '#2b2f82',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f82;
$custom-light: #7067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f82",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 237.241,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.13696,
    "h": 274.9
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#2B2F82
secondary
#B0AC59
accent
#D34EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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