#2B46A5#2B46A5

#2B46A5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.157 H 267.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2B46A5
RGBrgb(43, 70, 165)
HSLhsl(227, 59%, 41%)
HSVhsv(227, 74%, 65%)
CMYKcmyk(73.9%, 57.6%, 0%, 35.3%)
CIE-LABlab(33.16, 23.97, -54.22)
CIE-LCHlch(33.16, 59.29, 293.85°)
OKLaboklab(43.27% -0.0072 -0.1564)
OKLCHoklch(43.27% 0.157 267.4)
XYZxyz(9.9756, 7.6095, 36.5331)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A5 #A58A2B
analogous
#2B83A5 #2B46A5 #4D2BA5
triadic
#2B46A5 #A52B46 #46A52B
tetradic
#2B46A5 #A52B83 #A58A2B #2BA54D
square
#2B46A5 #A52B83 #A58A2B #2BA54D
split-complementary
#2B46A5 #A54D2B #83A52B
monochromatic
#121D44 #1E3174 #2B46A5 #405FCD #7188DA

Accessibility & contrast

On white

8.33
#2B46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B46A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A5#FFFFFF#000000##FFFFFF
##2B46A51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b46a5;
/* rgb */ color: rgb(43, 70, 165);
/* oklch */ color: oklch(43.3% 0.157 267.4);
Tailwind
colors: {
  custom: {
    50: '#7679c0',
    500: '#2b46a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a5;
$custom-light: #7679c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a5",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 226.721,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.15653,
    "h": 267.4
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#2B46A5
secondary
#C1AE6B
accent
#BF46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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