#2B4783#2B4783

#2B4783 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.106 H 263.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2B4783
RGBrgb(43, 71, 131)
HSLhsl(221, 51%, 34%)
HSVhsv(221, 67%, 51%)
CMYKcmyk(67.2%, 45.8%, 0%, 48.6%)
CIE-LABlab(31.02, 10.32, -36.95)
CIE-LCHlch(31.02, 38.36, 285.60°)
OKLaboklab(40.88% -0.0119 -0.1055)
OKLCHoklch(40.88% 0.106 263.6)
XYZxyz(7.3448, 6.6581, 22.3664)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4783 #83672B
analogous
#2B7383 #2B4783 #3B2B83
triadic
#2B4783 #832B47 #47832B
tetradic
#2B4783 #832B73 #83672B #2B833B
square
#2B4783 #832B73 #83672B #2B833B
split-complementary
#2B4783 #833B2B #73832B
monochromatic
#0D1527 #1C2E55 #2B4783 #3A60B1 #5E81CA

Accessibility & contrast

On white

9.01
#2B4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B4783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4783
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4783#FFFFFF#000000##FFFFFF
##2B47831.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4783;
/* rgb */ color: rgb(43, 71, 131);
/* oklch */ color: oklch(40.9% 0.106 263.6);
Tailwind
colors: {
  custom: {
    50: '#6e79a7',
    500: '#2b4783',
    950: '#000000',
  },
}
SCSS
$custom: #2b4783;
$custom-light: #6e79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4783",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 220.909,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.10619,
    "h": 263.6
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#2B4783
secondary
#B0955A
accent
#AD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4783

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

Preview Lab → · Contrast checker → · Palette generator →

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