#2B50AF#2B50AF

#2B50AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.158 H 264.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2B50AF
RGBrgb(43, 80, 175)
HSLhsl(223, 61%, 43%)
HSVhsv(223, 75%, 69%)
CMYKcmyk(75.4%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.64, 21.12, -54.53)
CIE-LCHlch(36.64, 58.48, 291.17°)
OKLaboklab(46.14% -0.0143 -0.1571)
OKLCHoklch(46.14% 0.158 264.8)
XYZxyz(11.6001, 9.3448, 41.7415)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B50AF #AF8A2B
analogous
#2B92AF #2B50AF #482BAF
triadic
#2B50AF #AF2B50 #50AF2B
tetradic
#2B50AF #AF2B92 #AF8A2B #2BAF48
square
#2B50AF #AF2B92 #AF8A2B #2BAF48
split-complementary
#2B50AF #AF482B #92AF2B
monochromatic
#13234D #1F3A7E #2B50AF #466DD1 #7794DE

Accessibility & contrast

On white

7.32
#2B50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B50AF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B50AF#FFFFFF#000000##FFFFFF
##2B50AF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b50af;
/* rgb */ color: rgb(43, 80, 175);
/* oklch */ color: oklch(46.1% 0.158 264.8);
Tailwind
colors: {
  custom: {
    50: '#7780c8',
    500: '#2b50af',
    950: '#000000',
  },
}
SCSS
$custom: #2b50af;
$custom-light: #7780c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b50af",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 223.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.15775,
    "h": 264.8
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#2B50AF
secondary
#C5AE70
accent
#B744E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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