#2B5293#2B5293

#2B5293 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.116 H 260.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2B5293
RGBrgb(43, 82, 147)
HSLhsl(218, 55%, 37%)
HSVhsv(218, 71%, 58%)
CMYKcmyk(70.7%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.31, 9.06, -39.89)
CIE-LCHlch(35.31, 40.90, 282.80°)
OKLaboklab(44.51% -0.02 -0.114)
OKLCHoklch(44.51% 0.116 260)
XYZxyz(9.2781, 8.6538, 28.7795)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5293 #936C2B
analogous
#2B8693 #2B5293 #382B93
triadic
#2B5293 #932B52 #52932B
tetradic
#2B5293 #932B86 #936C2B #2B9338
square
#2B5293 #932B86 #936C2B #2B9338
split-complementary
#2B5293 #93382B #86932B
monochromatic
#0F1D34 #1D3864 #2B5293 #396CC2 #668FD2

Accessibility & contrast

On white

7.69
#2B5293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B5293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5293
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5293#FFFFFF#000000##FFFFFF
##2B52931.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335896
Deuteranopia (green-blind)
#214F92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5293;
/* rgb */ color: rgb(43, 82, 147);
/* oklch */ color: oklch(44.5% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#7182b3',
    500: '#2b5293',
    950: '#000000',
  },
}
SCSS
$custom: #2b5293;
$custom-light: #7182b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5293",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 217.5,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.11574,
    "h": 260
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#2B5293
secondary
#B99861
accent
#A64ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5293

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

Preview Lab → · Contrast checker → · Palette generator →

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