#2B47B7#2B47B7

#2B47B7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 267.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2B47B7
RGBrgb(43, 71, 183)
HSLhsl(228, 62%, 44%)
HSVhsv(228, 77%, 72%)
CMYKcmyk(76.5%, 61.2%, 0%, 28.2%)
CIE-LABlab(34.88, 30.08, -62.13)
CIE-LCHlch(34.88, 69.03, 295.84°)
OKLaboklab(45.01% -0.0075 -0.1796)
OKLCHoklch(45.01% 0.18 267.6)
XYZxyz(11.7938, 8.4377, 45.7976)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47B7 #B79B2B
analogous
#2B8DB7 #2B47B7 #552BB7
triadic
#2B47B7 #B72B47 #47B72B
tetradic
#2B47B7 #B72B8D #B79B2B #2BB755
square
#2B47B7 #B72B8D #B79B2B #2BB755
split-complementary
#2B47B7 #B7552B #8DB72B
monochromatic
#142154 #1F3485 #2B47B7 #4B66D5 #7C90E0

Accessibility & contrast

On white

7.81
#2B47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B47B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47B7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47B7#FFFFFF#000000##FFFFFF
##2B47B71.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b47b7;
/* rgb */ color: rgb(43, 71, 183);
/* oklch */ color: oklch(45.0% 0.180 267.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ace',
    500: '#2b47b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b47b7;
$custom-light: #7a7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47b7",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 228,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.17972,
    "h": 267.6
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#2B47B7
secondary
#C9B875
accent
#C543E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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