#2B509F#2B509F

#2B509F is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.135 H 263.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2B509F
RGBrgb(43, 80, 159)
HSLhsl(221, 57%, 40%)
HSVhsv(221, 73%, 62%)
CMYKcmyk(73%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.50, 14.99, -46.82)
CIE-LCHlch(35.50, 49.16, 287.75°)
OKLaboklab(44.91% -0.0161 -0.1344)
OKLCHoklch(44.91% 0.135 263.2)
XYZxyz(10.1207, 8.7530, 33.9503)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B509F #9F7A2B
analogous
#2B8A9F #2B509F #402B9F
triadic
#2B509F #9F2B50 #509F2B
tetradic
#2B509F #9F2B8A #9F7A2B #2B9F40
square
#2B509F #9F2B8A #9F7A2B #2B9F40
split-complementary
#2B509F #9F402B #8A9F2B
monochromatic
#11203F #1E386F #2B509F #3D6ACA #6D8FD7

Accessibility & contrast

On white

7.63
#2B509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B509F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B509F#FFFFFF#000000##FFFFFF
##2B509F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b509f;
/* rgb */ color: rgb(43, 80, 159);
/* oklch */ color: oklch(44.9% 0.135 263.2);
Tailwind
colors: {
  custom: {
    50: '#7480bc',
    500: '#2b509f',
    950: '#000000',
  },
}
SCSS
$custom: #2b509f;
$custom-light: #7480bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b509f",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 220.862,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.13537,
    "h": 263.2
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#2B509F
secondary
#BEA367
accent
#B047E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B509F

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

Preview Lab → · Contrast checker → · Palette generator →

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