#2B47BE#2B47BE

#2B47BE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.189 H 267.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B47BE
RGBrgb(43, 71, 190)
HSLhsl(229, 63%, 46%)
HSVhsv(229, 77%, 75%)
CMYKcmyk(77.4%, 62.6%, 0%, 25.5%)
CIE-LABlab(35.47, 32.68, -65.28)
CIE-LCHlch(35.47, 73.00, 296.60°)
OKLaboklab(45.64% -0.0076 -0.1888)
OKLCHoklch(45.64% 0.189 267.7)
XYZxyz(12.5405, 8.7364, 49.7306)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47BE #BEA22B
analogous
#2B91BE #2B47BE #582BBE
triadic
#2B47BE #BE2B47 #47BE2B
tetradic
#2B47BE #BE2B91 #BEA22B #2BBE58
square
#2B47BE #BE2B91 #BEA22B #2BBE58
split-complementary
#2B47BE #BE582B #91BE2B
monochromatic
#14225A #20348C #2B47BE #4F69D7 #8194E2

Accessibility & contrast

On white

7.64
#2B47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47BE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47BE#FFFFFF#000000##FFFFFF
##2B47BE1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b47be;
/* rgb */ color: rgb(43, 71, 190);
/* oklch */ color: oklch(45.6% 0.189 267.7);
Tailwind
colors: {
  custom: {
    50: '#7c7ad3',
    500: '#2b47be',
    950: '#000000',
  },
}
SCSS
$custom: #2b47be;
$custom-light: #7c7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47be",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 228.571,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.18894,
    "h": 267.7
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#2B47BE
secondary
#CBBC7A
accent
#C742E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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