#2B3A86#2B3A86

#2B3A86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.128 H 270.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2B3A86
RGBrgb(43, 58, 134)
HSLhsl(230, 51%, 35%)
HSVhsv(230, 68%, 53%)
CMYKcmyk(67.9%, 56.7%, 0%, 47.5%)
CIE-LABlab(27.46, 20.33, -44.53)
CIE-LCHlch(27.46, 48.95, 294.54°)
OKLaboklab(38.25% 0.0016 -0.128)
OKLCHoklch(38.25% 0.128 270.7)
XYZxyz(6.8109, 5.2603, 23.2060)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A86 #86772B
analogous
#2B6886 #2B3A86 #4A2B86
triadic
#2B3A86 #862B3A #3A862B
tetradic
#2B3A86 #862B68 #86772B #2B864A
square
#2B3A86 #862B68 #86772B #2B864A
split-complementary
#2B3A86 #864A2B #68862B
monochromatic
#0D1229 #1C2658 #2B3A86 #3A4EB4 #6071CC

Accessibility & contrast

On white

10.23
#2B3A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A86
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A86#FFFFFF#000000##FFFFFF
##2B3A861.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3a86;
/* rgb */ color: rgb(43, 58, 134);
/* oklch */ color: oklch(38.2% 0.128 270.7);
Tailwind
colors: {
  custom: {
    50: '#706faa',
    500: '#2b3a86',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a86;
$custom-light: #706faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a86",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 230.11,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.12803,
    "h": 270.7
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#2B3A86
secondary
#B2A35B
accent
#C34DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3A86

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

Preview Lab → · Contrast checker → · Palette generator →

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