#2B4299#2B4299

#2B4299 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 268.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2B4299
RGBrgb(43, 66, 153)
HSLhsl(227, 56%, 38%)
HSVhsv(227, 72%, 60%)
CMYKcmyk(71.9%, 56.9%, 0%, 40%)
CIE-LABlab(31.14, 22.10, -50.26)
CIE-LCHlch(31.14, 54.90, 293.74°)
OKLaboklab(41.46% -0.0045 -0.1448)
OKLCHoklch(41.46% 0.145 268.2)
XYZxyz(8.6923, 6.7090, 30.9677)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4299 #99822B
analogous
#2B7999 #2B4299 #4B2B99
triadic
#2B4299 #992B42 #42992B
tetradic
#2B4299 #992B79 #99822B #2B994B
square
#2B4299 #992B79 #99822B #2B994B
split-complementary
#2B4299 #994B2B #79992B
monochromatic
#101939 #1E2D69 #2B4299 #3A57C8 #6980D5

Accessibility & contrast

On white

8.97
#2B4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4299
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4299#FFFFFF#000000##FFFFFF
##2B42991.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4299;
/* rgb */ color: rgb(43, 66, 153);
/* oklch */ color: oklch(41.5% 0.145 268.2);
Tailwind
colors: {
  custom: {
    50: '#7376b8',
    500: '#2b4299',
    950: '#000000',
  },
}
SCSS
$custom: #2b4299;
$custom-light: #7376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4299",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 227.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.14483,
    "h": 268.2
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#2B4299
secondary
#BCA964
accent
#C048DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4299

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

Preview Lab → · Contrast checker → · Palette generator →

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