#2B5091#2B5091

#2B5091 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.115 H 260.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2B5091
RGBrgb(43, 80, 145)
HSLhsl(218, 54%, 37%)
HSVhsv(218, 70%, 57%)
CMYKcmyk(70.3%, 44.8%, 0%, 43.1%)
CIE-LABlab(34.59, 9.62, -39.83)
CIE-LCHlch(34.59, 40.97, 283.58°)
OKLaboklab(43.92% -0.0185 -0.1138)
OKLCHoklch(43.92% 0.115 260.8)
XYZxyz(8.9739, 8.2943, 27.9106)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5091 #916C2B
analogous
#2B8391 #2B5091 #392B91
triadic
#2B5091 #912B50 #50912B
tetradic
#2B5091 #912B83 #916C2B #2B9139
square
#2B5091 #912B83 #916C2B #2B9139
split-complementary
#2B5091 #91392B #83912B
monochromatic
#0F1C33 #1D3662 #2B5091 #396AC0 #658CD1

Accessibility & contrast

On white

7.90
#2B5091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B5091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5091
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5091#FFFFFF#000000##FFFFFF
##2B50911.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5091;
/* rgb */ color: rgb(43, 80, 145);
/* oklch */ color: oklch(43.9% 0.115 260.8);
Tailwind
colors: {
  custom: {
    50: '#7180b2',
    500: '#2b5091',
    950: '#000000',
  },
}
SCSS
$custom: #2b5091;
$custom-light: #7180b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5091",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 145
  },
  "hsl": {
    "h": 218.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43915,
    "c": 0.11533,
    "h": 260.8
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#2B5091
secondary
#B89860
accent
#A84ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B5091

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

Preview Lab → · Contrast checker → · Palette generator →

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