#2B5192#2B5192

#2B5192 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.116 H 260.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2B5192
RGBrgb(43, 81, 146)
HSLhsl(218, 54%, 37%)
HSVhsv(218, 71%, 57%)
CMYKcmyk(70.5%, 44.5%, 0%, 42.7%)
CIE-LABlab(34.95, 9.34, -39.86)
CIE-LCHlch(34.95, 40.94, 283.19°)
OKLaboklab(44.21% -0.0193 -0.1139)
OKLCHoklch(44.21% 0.116 260.4)
XYZxyz(9.1251, 8.4728, 28.3431)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5192 #926C2B
analogous
#2B8592 #2B5192 #392B92
triadic
#2B5192 #922B51 #51922B
tetradic
#2B5192 #922B85 #926C2B #2B9239
square
#2B5192 #922B85 #926C2B #2B9239
split-complementary
#2B5192 #92392B #85922B
monochromatic
#0F1D33 #1D3763 #2B5192 #396BC1 #668ED2

Accessibility & contrast

On white

7.79
#2B5192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5192
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5192#FFFFFF#000000##FFFFFF
##2B51921.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5192;
/* rgb */ color: rgb(43, 81, 146);
/* oklch */ color: oklch(44.2% 0.116 260.4);
Tailwind
colors: {
  custom: {
    50: '#7181b2',
    500: '#2b5192',
    950: '#000000',
  },
}
SCSS
$custom: #2b5192;
$custom-light: #7181b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5192",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 217.864,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.11554,
    "h": 260.4
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5192

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

Preview Lab → · Contrast checker → · Palette generator →

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