#2B2F83#2B2F83

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

Color values

HEX#2B2F83
RGBrgb(43, 47, 131)
HSLhsl(237, 51%, 34%)
HSVhsv(237, 67%, 51%)
CMYKcmyk(67.2%, 64.1%, 0%, 48.6%)
CIE-LABlab(24.27, 26.68, -47.84)
CIE-LCHlch(24.27, 54.78, 299.15°)
OKLaboklab(35.8% 0.0117 -0.1379)
OKLCHoklch(35.8% 0.138 274.9)
XYZxyz(6.1082, 4.1848, 21.9542)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F83 #837F2B
analogous
#2B5B83 #2B2F83 #532B83
triadic
#2B2F83 #832B2F #2F832B
tetradic
#2B2F83 #832B5B #837F2B #2B8353
square
#2B2F83 #832B5B #837F2B #2B8353
split-complementary
#2B2F83 #83532B #5B832B
monochromatic
#0D0E27 #1C1E55 #2B2F83 #3A40B1 #5E63CA

Accessibility & contrast

On white

11.43
#2B2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F83
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F83#FFFFFF#000000##FFFFFF
##2B2F831.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2f83;
/* rgb */ color: rgb(43, 47, 131);
/* oklch */ color: oklch(35.8% 0.138 274.9);
Tailwind
colors: {
  custom: {
    50: '#7067a8',
    500: '#2b2f83',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f83;
$custom-light: #7067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f83",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 237.273,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35797,
    "c": 0.13838,
    "h": 274.9
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#2B2F83
secondary
#B0AC5A
accent
#D44EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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