#2B46B2#2B46B2

#2B46B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.174 H 267.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2B46B2
RGBrgb(43, 70, 178)
HSLhsl(228, 61%, 43%)
HSVhsv(228, 76%, 70%)
CMYKcmyk(75.8%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.20, 28.87, -60.27)
CIE-LCHlch(34.20, 66.83, 295.60°)
OKLaboklab(44.38% -0.0069 -0.1741)
OKLCHoklch(44.38% 0.174 267.7)
XYZxyz(11.2195, 8.1070, 43.0844)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46B2 #B2972B
analogous
#2B89B2 #2B46B2 #532BB2
triadic
#2B46B2 #B22B46 #46B22B
tetradic
#2B46B2 #B22B89 #B2972B #2BB253
square
#2B46B2 #B22B89 #B2972B #2BB253
split-complementary
#2B46B2 #B2532B #89B22B
monochromatic
#131F4F #1F3381 #2B46B2 #4863D3 #798DDF

Accessibility & contrast

On white

8.01
#2B46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46B2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46B2#FFFFFF#000000##FFFFFF
##2B46B21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b46b2;
/* rgb */ color: rgb(43, 70, 178);
/* oklch */ color: oklch(44.4% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#7979ca',
    500: '#2b46b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b46b2;
$custom-light: #7979ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46b2",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 228,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.17426,
    "h": 267.7
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#2B46B2
secondary
#C7B672
accent
#C444E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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