#2B50AB#2B50AB

#2B50AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.152 H 264.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2B50AB
RGBrgb(43, 80, 171)
HSLhsl(223, 60%, 42%)
HSVhsv(223, 75%, 67%)
CMYKcmyk(74.9%, 53.2%, 0%, 32.9%)
CIE-LABlab(36.35, 19.59, -52.63)
CIE-LCHlch(36.35, 56.16, 290.42°)
OKLaboklab(45.82% -0.0147 -0.1515)
OKLCHoklch(45.82% 0.152 264.5)
XYZxyz(11.2130, 9.1900, 39.7031)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50AB #AB862B
analogous
#2B90AB #2B50AB #462BAB
triadic
#2B50AB #AB2B50 #50AB2B
tetradic
#2B50AB #AB2B90 #AB862B #2BAB46
square
#2B50AB #AB2B90 #AB862B #2BAB46
split-complementary
#2B50AB #AB462B #90AB2B
monochromatic
#122249 #1F397A #2B50AB #436CD0 #7492DC

Accessibility & contrast

On white

7.40
#2B50AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B50AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B50AB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50AB#FFFFFF#000000##FFFFFF
##2B50AB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b50ab;
/* rgb */ color: rgb(43, 80, 171);
/* oklch */ color: oklch(45.8% 0.152 264.5);
Tailwind
colors: {
  custom: {
    50: '#7780c5',
    500: '#2b50ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b50ab;
$custom-light: #7780c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50ab",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 222.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.15222,
    "h": 264.5
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#2B50AB
secondary
#C4AB6E
accent
#B545E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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