#2B4C85#2B4C85

#2B4C85 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.103 H 260.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4C85
RGBrgb(43, 76, 133)
HSLhsl(218, 51%, 35%)
HSVhsv(218, 68%, 52%)
CMYKcmyk(67.7%, 42.9%, 0%, 47.8%)
CIE-LABlab(32.65, 7.72, -35.58)
CIE-LCHlch(32.65, 36.41, 282.24°)
OKLaboklab(42.17% -0.0168 -0.1014)
OKLCHoklch(42.17% 0.103 260.6)
XYZxyz(7.8128, 7.3752, 23.1976)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C85 #85642B
analogous
#2B7985 #2B4C85 #372B85
triadic
#2B4C85 #852B4C #4C852B
tetradic
#2B4C85 #852B79 #85642B #2B8537
square
#2B4C85 #852B79 #85642B #2B8537
split-complementary
#2B4C85 #85372B #79852B
monochromatic
#0D1729 #1C3257 #2B4C85 #3A66B3 #5F87CB

Accessibility & contrast

On white

8.48
#2B4C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B4C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C85
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C85#FFFFFF#000000##FFFFFF
##2B4C851.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325187
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4c85;
/* rgb */ color: rgb(43, 76, 133);
/* oklch */ color: oklch(42.2% 0.103 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7da9',
    500: '#2b4c85',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c85;
$custom-light: #6f7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c85",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 218,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.10282,
    "h": 260.6
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#2B4C85
secondary
#B1915B
accent
#A74DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4C85

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

Preview Lab → · Contrast checker → · Palette generator →

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