#2B3783#2B3783

#2B3783 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.128 H 272.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2B3783
RGBrgb(43, 55, 131)
HSLhsl(232, 51%, 34%)
HSVhsv(232, 67%, 51%)
CMYKcmyk(67.2%, 58%, 0%, 48.6%)
CIE-LABlab(26.40, 21.26, -44.38)
CIE-LCHlch(26.40, 49.21, 295.60°)
OKLaboklab(37.38% 0.0044 -0.1276)
OKLCHoklch(37.38% 0.128 272)
XYZxyz(6.4578, 4.8841, 22.0707)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3783 #83772B
analogous
#2B6383 #2B3783 #4B2B83
triadic
#2B3783 #832B37 #37832B
tetradic
#2B3783 #832B63 #83772B #2B834B
square
#2B3783 #832B63 #83772B #2B834B
split-complementary
#2B3783 #834B2B #63832B
monochromatic
#0D1027 #1C2455 #2B3783 #3A4AB1 #5E6DCA

Accessibility & contrast

On white

10.62
#2B3783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B3783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3783
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3783#FFFFFF#000000##FFFFFF
##2B37831.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3783;
/* rgb */ color: rgb(43, 55, 131);
/* oklch */ color: oklch(37.4% 0.128 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f6da8',
    500: '#2b3783',
    950: '#000000',
  },
}
SCSS
$custom: #2b3783;
$custom-light: #6f6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3783",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 231.818,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.12769,
    "h": 272
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#2B3783
secondary
#B0A45A
accent
#C74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3783

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

Preview Lab → · Contrast checker → · Palette generator →

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