#2B4083#2B4083

#2B4083 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.115 H 267.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2B4083
RGBrgb(43, 64, 131)
HSLhsl(226, 51%, 34%)
HSVhsv(226, 67%, 51%)
CMYKcmyk(67.2%, 51.1%, 0%, 48.6%)
CIE-LABlab(28.95, 15.08, -40.26)
CIE-LCHlch(28.95, 42.99, 290.54°)
OKLaboklab(39.3% -0.0046 -0.1154)
OKLCHoklch(39.3% 0.115 267.7)
XYZxyz(6.9250, 5.8184, 22.2265)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4083 #836E2B
analogous
#2B6C83 #2B4083 #422B83
triadic
#2B4083 #832B40 #40832B
tetradic
#2B4083 #832B6C #836E2B #2B8342
square
#2B4083 #832B6C #836E2B #2B8342
split-complementary
#2B4083 #83422B #6C832B
monochromatic
#0D1327 #1C2955 #2B4083 #3A57B1 #5E78CA

Accessibility & contrast

On white

9.71
#2B4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4083
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4083#FFFFFF#000000##FFFFFF
##2B40831.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#044082
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4083;
/* rgb */ color: rgb(43, 64, 131);
/* oklch */ color: oklch(39.3% 0.115 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f74a7',
    500: '#2b4083',
    950: '#000000',
  },
}
SCSS
$custom: #2b4083;
$custom-light: #6f74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4083",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 225.682,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.11547,
    "h": 267.7
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#2B4083
secondary
#B09B5A
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4083

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

Preview Lab → · Contrast checker → · Palette generator →

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