#2B5090#2B5090

#2B5090 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.114 H 260.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2B5090
RGBrgb(43, 80, 144)
HSLhsl(218, 54%, 37%)
HSVhsv(218, 70%, 56%)
CMYKcmyk(70.1%, 44.4%, 0%, 43.5%)
CIE-LABlab(34.53, 9.24, -39.32)
CIE-LCHlch(34.53, 40.39, 283.23°)
OKLaboklab(43.85% -0.0187 -0.1123)
OKLCHoklch(43.85% 0.114 260.6)
XYZxyz(8.8972, 8.2636, 27.5063)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5090 #906B2B
analogous
#2B8390 #2B5090 #392B90
triadic
#2B5090 #902B50 #50902B
tetradic
#2B5090 #902B83 #906B2B #2B9039
square
#2B5090 #902B83 #906B2B #2B9039
split-complementary
#2B5090 #90392B #83902B
monochromatic
#0F1C32 #1D3661 #2B5090 #396ABF #658CD1

Accessibility & contrast

On white

7.92
#2B5090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B5090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5090
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5090#FFFFFF#000000##FFFFFF
##2B50901.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#204D8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5090;
/* rgb */ color: rgb(43, 80, 144);
/* oklch */ color: oklch(43.8% 0.114 260.6);
Tailwind
colors: {
  custom: {
    50: '#7180b1',
    500: '#2b5090',
    950: '#000000',
  },
}
SCSS
$custom: #2b5090;
$custom-light: #7180b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5090",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 218.02,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.11389,
    "h": 260.6
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#2B5090
secondary
#B79760
accent
#A84ADD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B5090

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

Preview Lab → · Contrast checker → · Palette generator →

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