#2B46A7#2B46A7

#2B46A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.159 H 267.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2B46A7
RGBrgb(43, 70, 167)
HSLhsl(227, 59%, 41%)
HSVhsv(227, 74%, 65%)
CMYKcmyk(74.3%, 58.1%, 0%, 34.5%)
CIE-LABlab(33.31, 24.73, -55.17)
CIE-LCHlch(33.31, 60.46, 294.15°)
OKLaboklab(43.44% -0.0071 -0.1591)
OKLCHoklch(43.44% 0.159 267.4)
XYZxyz(10.1590, 7.6828, 37.4993)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A7 #A78C2B
analogous
#2B84A7 #2B46A7 #4E2BA7
triadic
#2B46A7 #A72B46 #46A72B
tetradic
#2B46A7 #A72B84 #A78C2B #2BA74E
square
#2B46A7 #A72B84 #A78C2B #2BA74E
split-complementary
#2B46A7 #A74E2B #84A72B
monochromatic
#121D46 #1E3276 #2B46A7 #4160CE #7289DB

Accessibility & contrast

On white

8.28
#2B46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B46A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A7#FFFFFF#000000##FFFFFF
##2B46A71.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b46a7;
/* rgb */ color: rgb(43, 70, 167);
/* oklch */ color: oklch(43.4% 0.159 267.4);
Tailwind
colors: {
  custom: {
    50: '#7679c2',
    500: '#2b46a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a7;
$custom-light: #7679c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a7",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 226.935,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.15929,
    "h": 267.4
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#2B46A7
secondary
#C2AF6C
accent
#C046E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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