#2B3883#2B3883

#2B3883 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.126 H 271.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2B3883
RGBrgb(43, 56, 131)
HSLhsl(231, 51%, 34%)
HSVhsv(231, 67%, 51%)
CMYKcmyk(67.2%, 57.3%, 0%, 48.6%)
CIE-LABlab(26.68, 20.57, -43.93)
CIE-LCHlch(26.68, 48.51, 295.09°)
OKLaboklab(37.58% 0.0034 -0.1263)
OKLCHoklch(37.58% 0.126 271.5)
XYZxyz(6.5058, 4.9801, 22.0867)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3883 #83762B
analogous
#2B6483 #2B3883 #4A2B83
triadic
#2B3883 #832B38 #38832B
tetradic
#2B3883 #832B64 #83762B #2B834A
square
#2B3883 #832B64 #83762B #2B834A
split-complementary
#2B3883 #834A2B #64832B
monochromatic
#0D1127 #1C2455 #2B3883 #3A4CB1 #5E6ECA

Accessibility & contrast

On white

10.52
#2B3883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B3883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3883
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3883#FFFFFF#000000##FFFFFF
##2B38831.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3883;
/* rgb */ color: rgb(43, 56, 131);
/* oklch */ color: oklch(37.6% 0.126 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ea8',
    500: '#2b3883',
    950: '#000000',
  },
}
SCSS
$custom: #2b3883;
$custom-light: #6f6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3883",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 231.136,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.12634,
    "h": 271.5
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#2B3883
secondary
#B0A35A
accent
#C54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3883

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

Preview Lab → · Contrast checker → · Palette generator →

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