#2B4586#2B4586

#2B4586 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.113 H 265.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2B4586
RGBrgb(43, 69, 134)
HSLhsl(223, 51%, 35%)
HSVhsv(223, 68%, 53%)
CMYKcmyk(67.9%, 48.5%, 0%, 47.5%)
CIE-LABlab(30.62, 12.81, -39.44)
CIE-LCHlch(30.62, 41.47, 288.00°)
OKLaboklab(40.63% -0.0093 -0.1129)
OKLCHoklch(40.63% 0.113 265.3)
XYZxyz(7.4260, 6.4904, 23.4111)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4586 #866C2B
analogous
#2B7386 #2B4586 #3F2B86
triadic
#2B4586 #862B45 #45862B
tetradic
#2B4586 #862B73 #866C2B #2B863F
square
#2B4586 #862B73 #866C2B #2B863F
split-complementary
#2B4586 #863F2B #73862B
monochromatic
#0D1529 #1C2D58 #2B4586 #3A5DB4 #607ECC

Accessibility & contrast

On white

9.14
#2B4586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B4586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4586
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4586#FFFFFF#000000##FFFFFF
##2B45861.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4586;
/* rgb */ color: rgb(43, 69, 134);
/* oklch */ color: oklch(40.6% 0.113 265.3);
Tailwind
colors: {
  custom: {
    50: '#6f78aa',
    500: '#2b4586',
    950: '#000000',
  },
}
SCSS
$custom: #2b4586;
$custom-light: #6f78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4586",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 222.857,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.11327,
    "h": 265.3
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#2B4586
secondary
#B2995B
accent
#B24DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4586

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

Preview Lab → · Contrast checker → · Palette generator →

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