#2B4686#2B4686

#2B4686 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.112 H 264.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4686
RGBrgb(43, 70, 134)
HSLhsl(222, 51%, 35%)
HSVhsv(222, 68%, 53%)
CMYKcmyk(67.9%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.91, 12.14, -38.97)
CIE-LCHlch(30.91, 40.81, 287.30°)
OKLaboklab(40.86% -0.0103 -0.1115)
OKLCHoklch(40.86% 0.112 264.7)
XYZxyz(7.4880, 6.6144, 23.4317)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4686 #866B2B
analogous
#2B7386 #2B4686 #3E2B86
triadic
#2B4686 #862B46 #46862B
tetradic
#2B4686 #862B73 #866B2B #2B863E
square
#2B4686 #862B73 #866B2B #2B863E
split-complementary
#2B4686 #863E2B #73862B
monochromatic
#0D1629 #1C2E58 #2B4686 #3A5EB4 #6080CC

Accessibility & contrast

On white

9.04
#2B4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4686
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4686#FFFFFF#000000##FFFFFF
##2B46861.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4686;
/* rgb */ color: rgb(43, 70, 134);
/* oklch */ color: oklch(40.9% 0.112 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f79aa',
    500: '#2b4686',
    950: '#000000',
  },
}
SCSS
$custom: #2b4686;
$custom-light: #6f79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4686",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 222.198,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.11196,
    "h": 264.7
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#2B4686
secondary
#B2985B
accent
#B14DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4686

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

Preview Lab → · Contrast checker → · Palette generator →

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