#2B46A3#2B46A3

#2B46A3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.154 H 267.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B46A3
RGBrgb(43, 70, 163)
HSLhsl(227, 58%, 40%)
HSVhsv(227, 74%, 64%)
CMYKcmyk(73.6%, 57.1%, 0%, 36.1%)
CIE-LABlab(33.00, 23.21, -53.28)
CIE-LCHlch(33.00, 58.11, 293.54°)
OKLaboklab(43.11% -0.0073 -0.1536)
OKLCHoklch(43.11% 0.154 267.3)
XYZxyz(9.7950, 7.5372, 35.5818)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A3 #A3882B
analogous
#2B82A3 #2B46A3 #4C2BA3
triadic
#2B46A3 #A32B46 #46A32B
tetradic
#2B46A3 #A32B82 #A3882B #2BA34C
square
#2B46A3 #A32B82 #A3882B #2BA34C
split-complementary
#2B46A3 #A34C2B #82A32B
monochromatic
#111C42 #1E3173 #2B46A3 #3F5FCC #6F87D9

Accessibility & contrast

On white

8.37
#2B46A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B46A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A3#FFFFFF#000000##FFFFFF
##2B46A31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b46a3;
/* rgb */ color: rgb(43, 70, 163);
/* oklch */ color: oklch(43.1% 0.154 267.3);
Tailwind
colors: {
  custom: {
    50: '#7579bf',
    500: '#2b46a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a3;
$custom-light: #7579bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a3",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 226.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.15374,
    "h": 267.3
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#2B46A3
secondary
#C0AD6A
accent
#BF46E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B46A3

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

Preview Lab → · Contrast checker → · Palette generator →

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