#2B50AA#2B50AA

#2B50AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.151 H 264.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2B50AA
RGBrgb(43, 80, 170)
HSLhsl(223, 60%, 42%)
HSVhsv(223, 75%, 67%)
CMYKcmyk(74.7%, 52.9%, 0%, 33.3%)
CIE-LABlab(36.28, 19.21, -52.15)
CIE-LCHlch(36.28, 55.58, 290.22°)
OKLaboklab(45.75% -0.0148 -0.1501)
OKLCHoklch(45.75% 0.151 264.4)
XYZxyz(11.1181, 9.1520, 39.2030)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50AA #AA852B
analogous
#2B90AA #2B50AA #462BAA
triadic
#2B50AA #AA2B50 #50AA2B
tetradic
#2B50AA #AA2B90 #AA852B #2BAA46
square
#2B50AA #AA2B90 #AA852B #2BAA46
split-complementary
#2B50AA #AA462B #90AA2B
monochromatic
#122248 #1F3979 #2B50AA #436CCF #7492DC

Accessibility & contrast

On white

7.42
#2B50AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B50AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B50AA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50AA#FFFFFF#000000##FFFFFF
##2B50AA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115BAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b50aa;
/* rgb */ color: rgb(43, 80, 170);
/* oklch */ color: oklch(45.7% 0.151 264.4);
Tailwind
colors: {
  custom: {
    50: '#7680c4',
    500: '#2b50aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b50aa;
$custom-light: #7680c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50aa",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 222.52,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.15083,
    "h": 264.4
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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