#2B5490#2B5490

#2B5490 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.109 H 258.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2B5490
RGBrgb(43, 84, 144)
HSLhsl(216, 54%, 37%)
HSVhsv(216, 70%, 56%)
CMYKcmyk(70.1%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.73, 6.60, -37.40)
CIE-LCHlch(35.73, 37.98, 280.01°)
OKLaboklab(44.78% -0.0227 -0.1066)
OKLCHoklch(44.78% 0.109 258)
XYZxyz(9.1988, 8.8669, 27.6068)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5490 #90672B
analogous
#2B8790 #2B5490 #352B90
triadic
#2B5490 #902B54 #54902B
tetradic
#2B5490 #902B87 #90672B #2B9035
square
#2B5490 #902B87 #90672B #2B9035
split-complementary
#2B5490 #90352B #87902B
monochromatic
#0F1D32 #1D3961 #2B5490 #396FBF #6591D1

Accessibility & contrast

On white

7.57
#2B5490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B5490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5490
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5490#FFFFFF#000000##FFFFFF
##2B54901.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5490;
/* rgb */ color: rgb(43, 84, 144);
/* oklch */ color: oklch(44.8% 0.109 258.0);
Tailwind
colors: {
  custom: {
    50: '#7183b1',
    500: '#2b5490',
    950: '#000000',
  },
}
SCSS
$custom: #2b5490;
$custom-light: #7183b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5490",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 215.644,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.10904,
    "h": 258
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#2B5490
secondary
#B79460
accent
#A24ADD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5490

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

Preview Lab → · Contrast checker → · Palette generator →

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