#2B46A0#2B46A0

#2B46A0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.150 H 267.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B46A0
RGBrgb(43, 70, 160)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 73%, 63%)
CMYKcmyk(73.1%, 56.3%, 0%, 37.3%)
CIE-LABlab(32.77, 22.07, -51.85)
CIE-LCHlch(32.77, 56.35, 293.06°)
OKLaboklab(42.86% -0.0074 -0.1494)
OKLCHoklch(42.86% 0.15 267.1)
XYZxyz(9.5294, 7.4310, 34.1830)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A0 #A0852B
analogous
#2B80A0 #2B46A0 #4B2BA0
triadic
#2B46A0 #A02B46 #46A02B
tetradic
#2B46A0 #A02B80 #A0852B #2BA04B
square
#2B46A0 #A02B80 #A0852B #2BA04B
split-complementary
#2B46A0 #A04B2B #80A02B
monochromatic
#111C40 #1E3170 #2B46A0 #3D5ECB #6E86D8

Accessibility & contrast

On white

8.45
#2B46A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B46A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A0
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A0#FFFFFF#000000##FFFFFF
##2B46A01.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b46a0;
/* rgb */ color: rgb(43, 70, 160);
/* oklch */ color: oklch(42.9% 0.150 267.1);
Tailwind
colors: {
  custom: {
    50: '#7579bd',
    500: '#2b46a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a0;
$custom-light: #7579bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a0",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 160
  },
  "hsl": {
    "h": 226.154,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.14956,
    "h": 267.1
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#2B46A0
secondary
#BFAB68
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B46A0

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

Preview Lab → · Contrast checker → · Palette generator →

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