#2B3E86#2B3E86

#2B3E86 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.123 H 269.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B3E86
RGBrgb(43, 62, 134)
HSLhsl(227, 51%, 35%)
HSVhsv(227, 68%, 53%)
CMYKcmyk(67.9%, 53.7%, 0%, 47.5%)
CIE-LABlab(28.59, 17.59, -42.71)
CIE-LCHlch(28.59, 46.19, 292.39°)
OKLaboklab(39.09% -0.0022 -0.1226)
OKLCHoklch(39.09% 0.123 269)
XYZxyz(7.0205, 5.6794, 23.2759)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E86 #86732B
analogous
#2B6B86 #2B3E86 #462B86
triadic
#2B3E86 #862B3E #3E862B
tetradic
#2B3E86 #862B6B #86732B #2B8646
square
#2B3E86 #862B6B #86732B #2B8646
split-complementary
#2B3E86 #86462B #6B862B
monochromatic
#0D1329 #1C2958 #2B3E86 #3A53B4 #6076CC

Accessibility & contrast

On white

9.83
#2B3E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B3E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E86
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E86#FFFFFF#000000##FFFFFF
##2B3E861.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3e86;
/* rgb */ color: rgb(43, 62, 134);
/* oklch */ color: oklch(39.1% 0.123 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f72aa',
    500: '#2b3e86',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e86;
$custom-light: #6f72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e86",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 227.473,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.12263,
    "h": 269
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#2B3E86
secondary
#B2A05B
accent
#BD4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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