#2B4AA6#2B4AA6

#2B4AA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.153 H 266.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA6
RGBrgb(43, 74, 166)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 74%, 65%)
CMYKcmyk(74.1%, 55.4%, 0%, 34.9%)
CIE-LABlab(34.32, 21.68, -52.93)
CIE-LCHlch(34.32, 57.20, 292.27°)
OKLaboklab(44.17% -0.0103 -0.1525)
OKLCHoklch(44.17% 0.153 266.1)
XYZxyz(10.3256, 8.1632, 37.1005)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA6 #A6872B
analogous
#2B87A6 #2B4AA6 #492BA6
triadic
#2B4AA6 #A62B4A #4AA62B
tetradic
#2B4AA6 #A62B87 #A6872B #2BA649
square
#2B4AA6 #A62B87 #A6872B #2BA649
split-complementary
#2B4AA6 #A6492B #87A62B
monochromatic
#121F45 #1E3475 #2B4AA6 #4164CE #718CDA

Accessibility & contrast

On white

7.98
#2B4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B4AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AA6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA6#FFFFFF#000000##FFFFFF
##2B4AA61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4aa6;
/* rgb */ color: rgb(43, 74, 166);
/* oklch */ color: oklch(44.2% 0.153 266.1);
Tailwind
colors: {
  custom: {
    50: '#767cc1',
    500: '#2b4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa6;
$custom-light: #767cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa6",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 224.878,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.15285,
    "h": 266.1
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#2B4AA6
secondary
#C1AC6B
accent
#BB46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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