#2B2F86#2B2F86

#2B2F86 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.143 H 274.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2B2F86
RGBrgb(43, 47, 134)
HSLhsl(237, 51%, 35%)
HSVhsv(237, 68%, 53%)
CMYKcmyk(67.9%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.54, 27.78, -49.29)
CIE-LCHlch(24.54, 56.58, 299.40°)
OKLaboklab(36.07% 0.0115 -0.1421)
OKLCHoklch(36.07% 0.143 274.6)
XYZxyz(6.3144, 4.2673, 23.0405)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F86 #86822B
analogous
#2B5C86 #2B2F86 #552B86
triadic
#2B2F86 #862B2F #2F862B
tetradic
#2B2F86 #862B5C #86822B #2B8655
square
#2B2F86 #862B5C #86822B #2B8655
split-complementary
#2B2F86 #86552B #5C862B
monochromatic
#0D0E29 #1C1F58 #2B2F86 #3A3FB4 #6064CC

Accessibility & contrast

On white

11.33
#2B2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F86
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F86#FFFFFF#000000##FFFFFF
##2B2F861.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2f86;
/* rgb */ color: rgb(43, 47, 134);
/* oklch */ color: oklch(36.1% 0.143 274.6);
Tailwind
colors: {
  custom: {
    50: '#7067aa',
    500: '#2b2f86',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f86;
$custom-light: #7067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f86",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 237.363,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36072,
    "c": 0.1426,
    "h": 274.6
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#2B2F86
secondary
#B2AE5B
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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