#2B4099#2B4099

#2B4099 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.147 H 268.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2B4099
RGBrgb(43, 64, 153)
HSLhsl(229, 56%, 38%)
HSVhsv(229, 72%, 60%)
CMYKcmyk(71.9%, 58.2%, 0%, 40%)
CIE-LABlab(30.59, 23.45, -51.14)
CIE-LCHlch(30.59, 56.26, 294.63°)
OKLaboklab(41.06% -0.0029 -0.1474)
OKLCHoklch(41.06% 0.147 268.9)
XYZxyz(8.5774, 6.4794, 30.9294)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4099 #99842B
analogous
#2B7799 #2B4099 #4D2B99
triadic
#2B4099 #992B40 #40992B
tetradic
#2B4099 #992B77 #99842B #2B994D
square
#2B4099 #992B77 #99842B #2B994D
split-complementary
#2B4099 #994D2B #77992B
monochromatic
#101839 #1E2C69 #2B4099 #3A55C8 #697ED5

Accessibility & contrast

On white

9.15
#2B4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4099
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4099#FFFFFF#000000##FFFFFF
##2B40991.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4099;
/* rgb */ color: rgb(43, 64, 153);
/* oklch */ color: oklch(41.1% 0.147 268.9);
Tailwind
colors: {
  custom: {
    50: '#7374b8',
    500: '#2b4099',
    950: '#000000',
  },
}
SCSS
$custom: #2b4099;
$custom-light: #7374b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4099",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 228.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.14742,
    "h": 268.9
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#2B4099
secondary
#BCAB64
accent
#C348DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4099

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

Preview Lab → · Contrast checker → · Palette generator →

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