#2B4983#2B4983

#2B4983 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.104 H 262.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B4983
RGBrgb(43, 73, 131)
HSLhsl(220, 51%, 34%)
HSVhsv(220, 67%, 51%)
CMYKcmyk(67.2%, 44.3%, 0%, 48.6%)
CIE-LABlab(31.62, 8.97, -35.99)
CIE-LCHlch(31.62, 37.09, 283.99°)
OKLaboklab(41.34% -0.014 -0.1027)
OKLCHoklch(41.34% 0.104 262.2)
XYZxyz(7.4741, 6.9167, 22.4095)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4983 #83652B
analogous
#2B7583 #2B4983 #392B83
triadic
#2B4983 #832B49 #49832B
tetradic
#2B4983 #832B75 #83652B #2B8339
square
#2B4983 #832B75 #83652B #2B8339
split-complementary
#2B4983 #83392B #75832B
monochromatic
#0D1627 #1C2F55 #2B4983 #3A63B1 #5E83CA

Accessibility & contrast

On white

8.81
#2B4983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4983
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4983#FFFFFF#000000##FFFFFF
##2B49831.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#204782
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4983;
/* rgb */ color: rgb(43, 73, 131);
/* oklch */ color: oklch(41.3% 0.104 262.2);
Tailwind
colors: {
  custom: {
    50: '#6e7ba7',
    500: '#2b4983',
    950: '#000000',
  },
}
SCSS
$custom: #2b4983;
$custom-light: #6e7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4983",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 219.545,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.10362,
    "h": 262.2
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#2B4983
secondary
#B0935A
accent
#AA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4983

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

Preview Lab → · Contrast checker → · Palette generator →

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