#2B5290#2B5290

#2B5290 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.111 H 259.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B5290
RGBrgb(43, 82, 144)
HSLhsl(217, 54%, 37%)
HSVhsv(217, 70%, 56%)
CMYKcmyk(70.1%, 43.1%, 0%, 43.5%)
CIE-LABlab(35.12, 7.92, -38.36)
CIE-LCHlch(35.12, 39.17, 281.66°)
OKLaboklab(44.31% -0.0207 -0.1095)
OKLCHoklch(44.31% 0.111 259.3)
XYZxyz(9.0458, 8.5609, 27.5558)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5290 #90692B
analogous
#2B8590 #2B5290 #372B90
triadic
#2B5290 #902B52 #52902B
tetradic
#2B5290 #902B85 #90692B #2B9037
square
#2B5290 #902B85 #90692B #2B9037
split-complementary
#2B5290 #90372B #85902B
monochromatic
#0F1C32 #1D3761 #2B5290 #396DBF #658ED1

Accessibility & contrast

On white

7.74
#2B5290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B5290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5290
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5290#FFFFFF#000000##FFFFFF
##2B52901.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355892
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5290;
/* rgb */ color: rgb(43, 82, 144);
/* oklch */ color: oklch(44.3% 0.111 259.3);
Tailwind
colors: {
  custom: {
    50: '#7182b1',
    500: '#2b5290',
    950: '#000000',
  },
}
SCSS
$custom: #2b5290;
$custom-light: #7182b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5290",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 216.832,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.11143,
    "h": 259.3
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#2B5290
secondary
#B79560
accent
#A54ADD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5290

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

Preview Lab → · Contrast checker → · Palette generator →

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