#2B5191#2B5191

#2B5191 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.114 H 260.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5191
RGBrgb(43, 81, 145)
HSLhsl(218, 54%, 37%)
HSVhsv(218, 70%, 57%)
CMYKcmyk(70.3%, 44.1%, 0%, 43.1%)
CIE-LABlab(34.89, 8.96, -39.35)
CIE-LCHlch(34.89, 40.36, 282.83°)
OKLaboklab(44.15% -0.0195 -0.1124)
OKLCHoklch(44.15% 0.114 260.2)
XYZxyz(9.0477, 8.4419, 27.9352)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5191 #916B2B
analogous
#2B8491 #2B5191 #382B91
triadic
#2B5191 #912B51 #51912B
tetradic
#2B5191 #912B84 #916B2B #2B9138
square
#2B5191 #912B84 #916B2B #2B9138
split-complementary
#2B5191 #91382B #84912B
monochromatic
#0F1C33 #1D3762 #2B5191 #396BC0 #658DD1

Accessibility & contrast

On white

7.81
#2B5191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B5191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5191
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5191#FFFFFF#000000##FFFFFF
##2B51911.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325793
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5191;
/* rgb */ color: rgb(43, 81, 145);
/* oklch */ color: oklch(44.1% 0.114 260.2);
Tailwind
colors: {
  custom: {
    50: '#7181b2',
    500: '#2b5191',
    950: '#000000',
  },
}
SCSS
$custom: #2b5191;
$custom-light: #7181b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5191",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 217.647,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44145,
    "c": 0.11409,
    "h": 260.2
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#2B5191
secondary
#B89760
accent
#A74ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B5191

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

Preview Lab → · Contrast checker → · Palette generator →

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