#2B4A85#2B4A85

#2B4A85 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.105 H 262.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2B4A85
RGBrgb(43, 74, 133)
HSLhsl(219, 51%, 35%)
HSVhsv(219, 68%, 52%)
CMYKcmyk(67.7%, 44.4%, 0%, 47.8%)
CIE-LABlab(32.04, 9.06, -36.54)
CIE-LCHlch(32.04, 37.65, 283.92°)
OKLaboklab(41.71% -0.0147 -0.1043)
OKLCHoklch(41.71% 0.105 262)
XYZxyz(7.6772, 7.1039, 23.1523)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A85 #85662B
analogous
#2B7785 #2B4A85 #392B85
triadic
#2B4A85 #852B4A #4A852B
tetradic
#2B4A85 #852B77 #85662B #2B8539
square
#2B4A85 #852B77 #85662B #2B8539
split-complementary
#2B4A85 #85392B #77852B
monochromatic
#0D1729 #1C3057 #2B4A85 #3A64B3 #5F84CB

Accessibility & contrast

On white

8.67
#2B4A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B4A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A85
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A85#FFFFFF#000000##FFFFFF
##2B4A851.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#204884
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4a85;
/* rgb */ color: rgb(43, 74, 133);
/* oklch */ color: oklch(41.7% 0.105 262.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ca9',
    500: '#2b4a85',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a85;
$custom-light: #6f7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a85",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 219.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.10532,
    "h": 262
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#2B4A85
secondary
#B1935B
accent
#AA4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A85

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

Preview Lab → · Contrast checker → · Palette generator →

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