#2B3983#2B3983

#2B3983 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.125 H 271.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2B3983
RGBrgb(43, 57, 131)
HSLhsl(230, 51%, 34%)
HSVhsv(230, 67%, 51%)
CMYKcmyk(67.2%, 56.5%, 0%, 48.6%)
CIE-LABlab(26.96, 19.89, -43.48)
CIE-LCHlch(26.96, 47.81, 294.58°)
OKLaboklab(37.79% 0.0024 -0.1249)
OKLCHoklch(37.79% 0.125 271.1)
XYZxyz(6.5547, 5.0780, 22.1030)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3983 #83752B
analogous
#2B6583 #2B3983 #492B83
triadic
#2B3983 #832B39 #39832B
tetradic
#2B3983 #832B65 #83752B #2B8349
square
#2B3983 #832B65 #83752B #2B8349
split-complementary
#2B3983 #83492B #65832B
monochromatic
#0D1127 #1C2555 #2B3983 #3A4DB1 #5E6FCA

Accessibility & contrast

On white

10.42
#2B3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3983
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3983#FFFFFF#000000##FFFFFF
##2B39831.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3983;
/* rgb */ color: rgb(43, 57, 131);
/* oklch */ color: oklch(37.8% 0.125 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fa8',
    500: '#2b3983',
    950: '#000000',
  },
}
SCSS
$custom: #2b3983;
$custom-light: #6f6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3983",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 230.455,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.12497,
    "h": 271.1
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#2B3983
secondary
#B0A25A
accent
#C44EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3983

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

Preview Lab → · Contrast checker → · Palette generator →

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