#2B4785#2B4785

#2B4785 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.109 H 263.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2B4785
RGBrgb(43, 71, 133)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 68%, 52%)
CMYKcmyk(67.7%, 46.6%, 0%, 47.8%)
CIE-LABlab(31.14, 11.08, -37.98)
CIE-LCHlch(31.14, 39.56, 286.26°)
OKLaboklab(41.02% -0.0115 -0.1086)
OKLCHoklch(41.02% 0.109 263.9)
XYZxyz(7.4817, 6.7128, 23.0872)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4785 #85692B
analogous
#2B7485 #2B4785 #3C2B85
triadic
#2B4785 #852B47 #47852B
tetradic
#2B4785 #852B74 #85692B #2B853C
square
#2B4785 #852B74 #85692B #2B853C
split-complementary
#2B4785 #853C2B #74852B
monochromatic
#0D1629 #1C2E57 #2B4785 #3A60B3 #5F81CB

Accessibility & contrast

On white

8.96
#2B4785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B4785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4785
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4785#FFFFFF#000000##FFFFFF
##2B47851.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E87
Deuteranopia (green-blind)
#194584
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4785;
/* rgb */ color: rgb(43, 71, 133);
/* oklch */ color: oklch(41.0% 0.109 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f79a9',
    500: '#2b4785',
    950: '#000000',
  },
}
SCSS
$custom: #2b4785;
$custom-light: #6f79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4785",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 221.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.10917,
    "h": 263.9
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#2B4785
secondary
#B1965B
accent
#AF4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4785

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

Preview Lab → · Contrast checker → · Palette generator →

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