#2B5088#2B5088

#2B5088 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.102 H 258.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2B5088
RGBrgb(43, 80, 136)
HSLhsl(216, 52%, 35%)
HSVhsv(216, 68%, 53%)
CMYKcmyk(68.4%, 41.2%, 0%, 46.7%)
CIE-LABlab(34.04, 6.20, -35.20)
CIE-LCHlch(34.04, 35.74, 279.99°)
OKLaboklab(43.31% -0.0204 -0.1003)
OKLCHoklch(43.31% 0.102 258.5)
XYZxyz(8.3073, 8.0277, 24.3995)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5088 #88632B
analogous
#2B7E88 #2B5088 #352B88
triadic
#2B5088 #882B50 #50882B
tetradic
#2B5088 #882B7E #88632B #2B8835
square
#2B5088 #882B7E #88632B #2B8835
split-complementary
#2B5088 #88352B #7E882B
monochromatic
#0E192B #1C355A #2B5088 #3A6BB6 #618CCD

Accessibility & contrast

On white

8.06
#2B5088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5088
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5088#FFFFFF#000000##FFFFFF
##2B50881.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5088;
/* rgb */ color: rgb(43, 80, 136);
/* oklch */ color: oklch(43.3% 0.102 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f80ab',
    500: '#2b5088',
    950: '#000000',
  },
}
SCSS
$custom: #2b5088;
$custom-light: #6f80ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5088",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 136
  },
  "hsl": {
    "h": 216.129,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.10232,
    "h": 258.5
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#2B5088
secondary
#B3905C
accent
#A34CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5088

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

Preview Lab → · Contrast checker → · Palette generator →

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