#2B5294#2B5294

#2B5294 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.117 H 260.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2B5294
RGBrgb(43, 82, 148)
HSLhsl(218, 55%, 37%)
HSVhsv(218, 71%, 58%)
CMYKcmyk(70.9%, 44.6%, 0%, 42%)
CIE-LABlab(35.37, 9.44, -40.40)
CIE-LCHlch(35.37, 41.48, 283.16°)
OKLaboklab(44.58% -0.0198 -0.1155)
OKLCHoklch(44.58% 0.117 260.2)
XYZxyz(9.3569, 8.6853, 29.1945)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5294 #946D2B
analogous
#2B8794 #2B5294 #382B94
triadic
#2B5294 #942B52 #52942B
tetradic
#2B5294 #942B87 #946D2B #2B9438
square
#2B5294 #942B87 #946D2B #2B9438
split-complementary
#2B5294 #94382B #87942B
monochromatic
#0F1D35 #1D3865 #2B5294 #396CC3 #678FD3

Accessibility & contrast

On white

7.67
#2B5294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B5294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5294
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5294#FFFFFF#000000##FFFFFF
##2B52941.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325897
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5294;
/* rgb */ color: rgb(43, 82, 148);
/* oklch */ color: oklch(44.6% 0.117 260.2);
Tailwind
colors: {
  custom: {
    50: '#7182b4',
    500: '#2b5294',
    950: '#000000',
  },
}
SCSS
$custom: #2b5294;
$custom-light: #7182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5294",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 217.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.11717,
    "h": 260.2
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#2B5294
secondary
#B99962
accent
#A749DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5294

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

Preview Lab → · Contrast checker → · Palette generator →

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