#2B4AA3#2B4AA3

#2B4AA3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.149 H 265.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4AA3
RGBrgb(43, 74, 163)
HSLhsl(225, 58%, 40%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(73.6%, 54.6%, 0%, 36.1%)
CIE-LABlab(34.10, 20.53, -51.50)
CIE-LCHlch(34.10, 55.44, 291.74°)
OKLaboklab(43.93% -0.0105 -0.1483)
OKLCHoklch(43.93% 0.149 265.9)
XYZxyz(10.0536, 8.0544, 35.6680)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AA3 #A3842B
analogous
#2B86A3 #2B4AA3 #482BA3
triadic
#2B4AA3 #A32B4A #4AA32B
tetradic
#2B4AA3 #A32B86 #A3842B #2BA348
square
#2B4AA3 #A32B86 #A3842B #2BA348
split-complementary
#2B4AA3 #A3482B #86A32B
monochromatic
#111E42 #1E3473 #2B4AA3 #3F63CC #6F8BD9

Accessibility & contrast

On white

8.04
#2B4AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B4AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AA3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AA3#FFFFFF#000000##FFFFFF
##2B4AA31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0256A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4aa3;
/* rgb */ color: rgb(43, 74, 163);
/* oklch */ color: oklch(43.9% 0.149 265.9);
Tailwind
colors: {
  custom: {
    50: '#757cbf',
    500: '#2b4aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4aa3;
$custom-light: #757cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4aa3",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 224.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.14865,
    "h": 265.9
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#2B4AA3
secondary
#C0AA6A
accent
#B946E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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