#2A49BB#2A49BB

#2A49BB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.183 H 267.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2A49BB
RGBrgb(42, 73, 187)
HSLhsl(227, 63%, 45%)
HSVhsv(227, 78%, 73%)
CMYKcmyk(77.5%, 61%, 0%, 26.7%)
CIE-LABlab(35.68, 30.17, -63.17)
CIE-LCHlch(35.68, 70.01, 295.52°)
OKLaboklab(45.7% -0.0097 -0.1826)
OKLCHoklch(45.7% 0.183 267)
XYZxyz(12.3039, 8.8438, 48.0626)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49BB #BB9C2A
analogous
#2A92BB #2A49BB #532ABB
triadic
#2A49BB #BB2A49 #49BB2A
tetradic
#2A49BB #BB2A92 #BB9C2A #2ABB53
square
#2A49BB #BB2A92 #BB9C2A #2ABB53
split-complementary
#2A49BB #BB532A #92BB2A
monochromatic
#142257 #1F3589 #2A49BB #4C69D7 #7D93E2

Accessibility & contrast

On white

7.58
#2A49BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A49BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49BB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49BB#FFFFFF#000000##FFFFFF
##2A49BB1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a49bb;
/* rgb */ color: rgb(42, 73, 187);
/* oklch */ color: oklch(45.7% 0.183 267.0);
Tailwind
colors: {
  custom: {
    50: '#7a7bd0',
    500: '#2a49bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a49bb;
$custom-light: #7a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49bb",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 227.172,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.18288,
    "h": 267
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#2A49BB
secondary
#CAB876
accent
#C341E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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