#2A50B3#2A50B3

#2A50B3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.164 H 264.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2A50B3
RGBrgb(42, 80, 179)
HSLhsl(223, 62%, 43%)
HSVhsv(223, 77%, 70%)
CMYKcmyk(76.5%, 55.3%, 0%, 29.8%)
CIE-LABlab(36.90, 22.53, -56.48)
CIE-LCHlch(36.90, 60.81, 291.74°)
OKLaboklab(46.42% -0.0148 -0.1628)
OKLCHoklch(46.42% 0.164 264.8)
XYZxyz(11.9573, 9.4829, 43.8393)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A50B3 #B38D2A
analogous
#2A94B3 #2A50B3 #492AB3
triadic
#2A50B3 #B32A50 #50B32A
tetradic
#2A50B3 #B32A94 #B38D2A #2AB349
square
#2A50B3 #B32A94 #B38D2A #2AB349
split-complementary
#2A50B3 #B3492A #94B32A
monochromatic
#132450 #1E3A81 #2A50B3 #466ED4 #7895DF

Accessibility & contrast

On white

7.25
#2A50B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A50B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A50B3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A50B3#FFFFFF#000000##FFFFFF
##2A50B31.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a50b3;
/* rgb */ color: rgb(42, 80, 179);
/* oklch */ color: oklch(46.4% 0.164 264.8);
Tailwind
colors: {
  custom: {
    50: '#7880ca',
    500: '#2a50b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a50b3;
$custom-light: #7880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a50b3",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 223.358,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.16352,
    "h": 264.8
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#2A50B3
secondary
#C7AF72
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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