#2B509C#2B509C

#2B509C is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.131 H 262.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2B509C
RGBrgb(43, 80, 156)
HSLhsl(220, 57%, 39%)
HSVhsv(220, 72%, 61%)
CMYKcmyk(72.4%, 48.7%, 0%, 38.8%)
CIE-LABlab(35.30, 13.83, -45.34)
CIE-LCHlch(35.30, 47.40, 286.97°)
OKLaboklab(44.69% -0.0165 -0.1301)
OKLCHoklch(44.69% 0.131 262.7)
XYZxyz(9.8635, 8.6502, 32.5959)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B509C #9C772B
analogous
#2B899C #2B509C #3F2B9C
triadic
#2B509C #9C2B50 #509C2B
tetradic
#2B509C #9C2B89 #9C772B #2B9C3F
square
#2B509C #9C2B89 #9C772B #2B9C3F
split-complementary
#2B509C #9C3F2B #899C2B
monochromatic
#111F3C #1E376C #2B509C #3B6AC9 #6B8ED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B509C#FFFFFF#000000##FFFFFF
##2B509C1.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)
#27599F
Deuteranopia (green-blind)
#074E9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b509c;
/* rgb */ color: rgb(43, 80, 156);
/* oklch */ color: oklch(44.7% 0.131 262.7);
Tailwind
colors: {
  custom: {
    50: '#7380ba',
    500: '#2b509c',
    950: '#000000',
  },
}
SCSS
$custom: #2b509c;
$custom-light: #7380ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b509c",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 220.354,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.13111,
    "h": 262.7
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#2B509C
secondary
#BDA066
accent
#AE48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B509C

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

Preview Lab → · Contrast checker → · Palette generator →

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